From ed316dd7fca53ca9d98a5a6fee1cfe3eadcba6e8 Mon Sep 17 00:00:00 2001 From: f Date: Sun, 5 Jun 2022 21:53:45 -0300 Subject: [PATCH] use syslog --- .woodpecker.yml | 1 - matterbridged.sh | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 884ce5c..fc4d753 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -19,4 +19,3 @@ pipeline: matrix: ALPINE_VERSION: - 3.16.0 - - 3.15.4 diff --git a/matterbridged.sh b/matterbridged.sh index 612769e..10339f7 100755 --- a/matterbridged.sh +++ b/matterbridged.sh @@ -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