|
Line 0
Link Here
|
|
|
1 |
# |
| 2 |
# restart_services configuration file |
| 3 |
# |
| 4 |
|
| 5 |
# Here you can classify your services |
| 6 |
# (use extended regex without '^' and '$') |
| 7 |
# |
| 8 |
# You can copy this file to a new destination within /etc/restart_services/ |
| 9 |
# just make sure to keep the start of each used line the same to include |
| 10 |
# all previous definitions as well e.g.: SV_ALWAYS="((${SV_ALWAYS})|... |
| 11 |
|
| 12 |
# Define services that can always be restarted |
| 13 |
# Will run: rc-service $SV -- --ifstarted restart |
| 14 |
#SV_ALWAYS="((${SV_ALWAYS})|acpid|apcupsd|atd|autofs|(bareos|bacula)-fd|cf-.*|cronie|haveged|irqbalance|lldpd|monit|named|ntpd|nullmailer|opendnssec|salt-minion|smartd|snmpd|sshd|zabbix-agentd|vmware-tools|sqlgrey)" |
| 15 |
|
| 16 |
# Define services that can always be restarted, but excluding dependencies |
| 17 |
# Will run: rc-service $SV -- --ifstarted --nodeps restart |
| 18 |
#SV_ALWAYS_WITH_NODEPS="((${SV_ALWAYS_WITH_NODEPS})|udev|ulogd|rpc.*|rsyslog)" |
| 19 |
|
| 20 |
# Define services that must not be restarted without |
| 21 |
# the '--critical' option. |
| 22 |
# Here you should put services where a restart would |
| 23 |
# interrupt a service being offered to your users |
| 24 |
# Will run: rc-service $SV -- --ifstarted restart |
| 25 |
#SV_CRITICAL="((${SV_CRITICAL})|apache2|clamd|(bareos|bacula)-(sd|dir)|exim|.*ftpd|lighttpd|minidlna|mysql|nginx|openvpn|pacemaker|postfix|postgresql-.*|quasselcore|salt-master|samba|unbound)" |
| 26 |
|
| 27 |
# Define services that must not be restarted without |
| 28 |
# the '--critical' option and that require "--nodeps" |
| 29 |
# Here you should put services where a restart would |
| 30 |
# interrupt a service being offered to your users |
| 31 |
# Will run: rc-service $SV -- --ifstarted --nodeps restart |
| 32 |
#SV_CRITICAL_WITH_NODEPS="((${SV_CRITICAL_WITH_NODEPS})|())" |
| 33 |
|
| 34 |
# Define services than only need to be reloaded |
| 35 |
# instead of restarted |
| 36 |
# Will run: rc-service $SV -- --ifstarted reload |
| 37 |
#SV_ALWAYS_RELOAD_ONLY="((${SV_ALWAYS_RELOAD_ONLY})|libvirtd)" |
| 38 |
|
| 39 |
# Define services that should be ignored |
| 40 |
#SV_IGNORE="((${SV_IGNORE})|ntp-client)" |
| 41 |
|
| 42 |
# Define processes started via inittab that should be killed |
| 43 |
#INITTAB_KILLALL="((${INITTAB_KILLALL})|/sbin/agetty)" |