This commit is contained in:
parent
cc51232cc3
commit
ed316dd7fc
2 changed files with 1 additions and 3 deletions
|
@ -19,4 +19,3 @@ pipeline:
|
|||
matrix:
|
||||
ALPINE_VERSION:
|
||||
- 3.16.0
|
||||
- 3.15.4
|
||||
|
|
|
@ -2,13 +2,12 @@
|
|||
set -e
|
||||
|
||||
pid=/run/matterbridge.pid
|
||||
log=/tmp/matterbridge.log
|
||||
cnf=/etc/matterbridge/matterbridge.toml
|
||||
srv=/srv/matterbridge
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
daemonize -a -e ${log} -o ${log} -p ${pid} -l ${pid} -u matterbridge -c ${srv} /usr/bin/matterbridge -conf ${cnf}
|
||||
daemonize -p ${pid} -l ${pid} -u matterbridge -c ${srv} /usr/local/bin/syslogize matterbridge -conf ${cnf}
|
||||
;;
|
||||
stop)
|
||||
test -f ${pid} || exit 0
|
||||
|
|
Loading…
Reference in a new issue