Compare commits
3 commits
7334715e62
...
ed316dd7fc
Author | SHA1 | Date | |
---|---|---|---|
|
ed316dd7fc | ||
|
cc51232cc3 | ||
|
c90ba65374 |
2 changed files with 2 additions and 3 deletions
|
@ -18,4 +18,4 @@ pipeline:
|
||||||
event: push
|
event: push
|
||||||
matrix:
|
matrix:
|
||||||
ALPINE_VERSION:
|
ALPINE_VERSION:
|
||||||
- 3.15.4
|
- 3.16.0
|
||||||
|
|
|
@ -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