configuration-templates – Diff between revs 45 and 46

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 45 Rev 46
Line 9... Line 9...
9 # log file = /var/log/rsync.log 9 # log file = /var/log/rsync.log
Line 10... Line 10...
10   10  
11 check process rsync with pidfile /var/run/rsyncd.pid 11 check process rsync with pidfile /var/run/rsyncd.pid
12 start program "/etc/init.d/rsync start" 12 start program "/etc/init.d/rsync start"
-   13 stop program "/etc/init.d/rsync stop"
-   14  
13 stop program "/etc/init.d/rsync stop" 15 check host rsync-net with address localhost
14 if failed port 873 type tcp then restart 16 if failed port 873 type tcp then restart
15 if failed port 873 type udp then restart 17 # if failed port 873 type udp then restart
16 # if 5 restarts within 5 cycles then timeout 18 # if 5 restarts within 5 cycles then timeout