configuration-templates – Rev 46

Subversion Repositories:
Rev:
###########################################################################
##  Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3      ##
###########################################################################

## Debian might require the following addition to /etc/rsyncd.conf due to
## the PID file not being properly created by the init script.
# pid file = /var/run/rsyncd.pid
# lock file = /var/run/rsync.lock
# log file = /var/log/rsync.log

check process rsync with pidfile /var/run/rsyncd.pid
   start program  "/etc/init.d/rsync start"
   stop program  "/etc/init.d/rsync stop"

check host rsync-net with address localhost
   if failed port 873 type tcp then restart
   # if failed port 873 type udp then restart
   # if 5 restarts within 5 cycles then timeout

Generated by GNU Enscript 1.6.5.90.