Compare commits

...

2 commits

Author SHA1 Message Date
f da50f70e58 format
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-03-15 19:00:45 -03:00
f 689bc1a8f1 monitor shared folder 2022-03-07 17:14:53 -03:00
2 changed files with 4 additions and 2 deletions

View file

@ -2,5 +2,5 @@ check process syncthing with pidfile /tmp/syncthing.pid
start program = "/usr/local/bin/syncthingd start"
stop program = "/usr/local/bin/syncthingd stop"
check filesystem root with path /
check filesystem root with path /home/syncthing/Sync
if space usage < 2% then alert

View file

@ -19,5 +19,7 @@ case $1 in
--no-upgrade \
--unpaused
;;
stop) cat ${pid} | xargs -r kill ;;
stop)
cat ${pid} | xargs -r kill
;;
esac