configuration-templates – Blame information for rev 46
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
45 | office | 1 | ########################################################################### |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
||
3 | ########################################################################### |
||
4 | |||
5 | ## Debian might require the following addition to /etc/rsyncd.conf due to |
||
6 | ## the PID file not being properly created by the init script. |
||
7 | # pid file = /var/run/rsyncd.pid |
||
8 | # lock file = /var/run/rsync.lock |
||
9 | # log file = /var/log/rsync.log |
||
10 | |||
11 | check process rsync with pidfile /var/run/rsyncd.pid |
||
12 | start program "/etc/init.d/rsync start" |
||
13 | stop program "/etc/init.d/rsync stop" |
||
46 | office | 14 | |
15 | check host rsync-net with address localhost |
||
45 | office | 16 | if failed port 873 type tcp then restart |
46 | office | 17 | # if failed port 873 type udp then restart |
18 | # if 5 restarts within 5 cycles then timeout |