mirror of
https://github.com/luzifer-docker/jitsi.git
synced 2024-11-13 00:42:42 +00:00
12 lines
244 B
Bash
Executable file
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
|