Compare commits

...

6 commits

Author SHA1 Message Date
f 11cb290ae8 use syslog, start/stop correctly
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-09-10 18:16:39 -03:00
f 4f1f5c27d0 Merge branch 'antifascista' of https://gitea.nulo.in/Sutty/containers-skel into antifascista 2022-09-10 18:15:25 -03:00
f 0b354f4fea releases fixing zlib cve 2022-08-09 10:36:07 -03:00
f 9c4de359fb alpine upgrades 2022-07-19 18:48:03 -03:00
f c90ba65374 alpine 3.16 2022-05-29 21:05:05 -03:00
f 4ac1583bcb CVE-2022-28391
https://security.alpinelinux.org/vuln/CVE-2022-28391
2022-04-04 16:08:10 -03:00
2 changed files with 7 additions and 8 deletions

View file

@ -18,6 +18,7 @@ pipeline:
event: push
matrix:
ALPINE_VERSION:
- 3.15.3
- 3.14.5
- 3.13.9
- 3.16.2
- 3.15.6
- 3.14.8
- 3.13.12

View file

@ -2,16 +2,13 @@
pid=/tmp/syncthing.pid
dir=/home/syncthing
log=/home/syncthing/syncthing.log
case $1 in
start)
rm -f ${pid}
install -dm 2750 -o syncthing -g syncthing ${dir}/Sync/.stfolder
daemonize -p ${pid} -l ${pid} -u syncthing -c ${dir} \
-a -e ${log} -o ${log} \
/usr/bin/syslogize \
/usr/bin/syncthing serve \
--gui-address=http://[::]:8384 \
--no-browser \
@ -20,6 +17,7 @@ case $1 in
--unpaused
;;
stop)
cat ${pid} | xargs -r kill
test ! -f $pid || cat ${pid} | xargs -r kill
rm -f ${pid}
;;
esac