jitsi/services/prosody/run
2020-03-19 01:38:59 +01:00

12 lines
244 B
Bash
Executable file

#!/bin/bash
set -euxo pipefail
DAEMON=/usr/bin/prosody
PIDPATH=/run/prosody
PIDFILE="$PIDPATH"/prosody.pid
USER=prosody
mkdir -p "$(dirname $PIDFILE)"
chown prosody:adm "$(dirname $PIDFILE)"
exec /usr/local/bin/gosu prosody /usr/bin/prosody