This commit is contained in:
parent
cc51232cc3
commit
ed316dd7fc
2 changed files with 1 additions and 3 deletions
|
@ -19,4 +19,3 @@ pipeline:
|
||||||
matrix:
|
matrix:
|
||||||
ALPINE_VERSION:
|
ALPINE_VERSION:
|
||||||
- 3.16.0
|
- 3.16.0
|
||||||
- 3.15.4
|
|
||||||
|
|
|
@ -2,13 +2,12 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
pid=/run/matterbridge.pid
|
pid=/run/matterbridge.pid
|
||||||
log=/tmp/matterbridge.log
|
|
||||||
cnf=/etc/matterbridge/matterbridge.toml
|
cnf=/etc/matterbridge/matterbridge.toml
|
||||||
srv=/srv/matterbridge
|
srv=/srv/matterbridge
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
start)
|
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)
|
stop)
|
||||||
test -f ${pid} || exit 0
|
test -f ${pid} || exit 0
|
||||||
|
|
Loading…
Reference in a new issue