use syslog
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2022-06-05 21:53:45 -03:00
parent cc51232cc3
commit ed316dd7fc
2 changed files with 1 additions and 3 deletions

View file

@ -19,4 +19,3 @@ pipeline:
matrix:
ALPINE_VERSION:
- 3.16.0
- 3.15.4

View file

@ -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