jitsi/services/prosody/run

13 lines
244 B
Text
Raw Normal View History

2020-03-19 00:38:59 +00:00
#!/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