configuration-templates – Diff between revs 64 and 159
?pathlinks?
Rev 64 | Rev 159 | |||
---|---|---|---|---|
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 verdaccio with pidfile /var/run/verdaccio.pid |
5 | check process verdaccio matching verdaccio |
|
6 | start program "/etc/init.d/verdaccio restart" |
6 | start program "/bin/systemctl start verdaccio" |
|
7 | stop program "/etc/init.d/verdaccio stop" |
7 | stop program "/bin/systemctl stop verdaccio" |
|
8 | if failed host 127.0.0.1 port 4873 type tcp then restart |
8 | if failed host 127.0.0.1 port 4873 type tcp then restart |
|
9 | # if 5 restarts within 5 cycles then timeout |
9 | # if 5 restarts within 5 cycles then timeout |
|
10 | |
10 | |