configuration-templates – Diff between revs 160 and 161
?pathlinks?
Rev 160 | Rev 161 | |||
---|---|---|---|---|
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 | check process i2p with pidfile /run/i2p/i2p.pid |
5 | check process i2p with pidfile /run/i2p/i2p.pid |
|
6 | start program "/etc/init.d/i2p restart" |
6 | start program "/etc/init.d/i2p restart" |
|
7 | stop program "/etc/init.d/i2p stop" |
7 | stop program "/etc/init.d/i2p stop" |
|
- | 8 | if failed port 7657 protocol http then restart |
||
8 | # if 5 restarts within 5 cycles then timeout |
9 | # if 5 restarts within 5 cycles then timeout |
|
9 | |
10 | |