Compare commits
2 commits
54fc589e00
...
da50f70e58
Author | SHA1 | Date | |
---|---|---|---|
|
da50f70e58 | ||
|
689bc1a8f1 |
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -19,5 +19,7 @@ case $1 in
|
|||
--no-upgrade \
|
||||
--unpaused
|
||||
;;
|
||||
stop) cat ${pid} | xargs -r kill ;;
|
||||
stop)
|
||||
cat ${pid} | xargs -r kill
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue