configuration-templates – Diff between revs 45 and 46
?pathlinks?
Rev 45 | Rev 46 | |||
---|---|---|---|---|
1 | ########################################################################### |
1 | ########################################################################### |
|
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
|
3 | ########################################################################### |
3 | ########################################################################### |
|
4 | |
4 | |
|
5 | ## Debian might require the following addition to /etc/rsyncd.conf due to |
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. |
6 | ## the PID file not being properly created by the init script. |
|
7 | # pid file = /var/run/rsyncd.pid |
7 | # pid file = /var/run/rsyncd.pid |
|
8 | # lock file = /var/run/rsync.lock |
8 | # lock file = /var/run/rsync.lock |
|
9 | # log file = /var/log/rsync.log |
9 | # log file = /var/log/rsync.log |
|
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" |
13 | stop program "/etc/init.d/rsync stop" |
|
- | 14 | |
||
- | 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 |
|
17 | |
19 | |
|
- | 20 |
|
||
- | 21 | |
||
- | 22 | |
||
- | 23 | |