mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-06 02:15:20 +00:00
Update defaults for restart-services
This commit is contained in:
parent
e2ae759dae
commit
0648ac15d3
@ -6,11 +6,11 @@
|
||||
'always': '(acpid|apcupsd|atd|autofs|(bareos|bacula)-fd' +
|
||||
'|cronie|vixie-cron|dcron|incron|anacron|fcron|bcron' +
|
||||
'|haveged|irqbalance|lldpd|smartd|snmpd|mdadm|lvm-monitoring' +
|
||||
'|named|unbound|nsd|ntpd|chrony' +
|
||||
'|named|unbound|nsd|ntpd|chronyd' +
|
||||
'|postfix|qmail|opendkim|pypolicyd-spf|nullmailer|opendnssec' +
|
||||
'|sshd|zabbix-agentd|collectd|nagios|monit|salt-(minion|syndic)|cf-.*)',
|
||||
'always-nodeps': '(udev|ulogd|rpc.*|rsyslog|syslog-ng|metalog|lvmetad)',
|
||||
'critical': '((bareos|bacula)-(sd|dir)|.*ftpd|minidlna' +
|
||||
'critical': '((bareos|bacula)-(sd|dir)|.*ftpd|minidlna|git-daemon' +
|
||||
'|nginx|uwsgi|apache2|php-fpm|exim|dovecot|ejabberd|asterisk' +
|
||||
'|mysql|postgresql-.*|mongodb|riak|dnet_.*|ceph-.*' +
|
||||
'|elasticsearch|kibana|carbon-*|grafana|jenkins|consul|samba' +
|
||||
@ -27,36 +27,36 @@
|
||||
|
||||
# Define services that can always be restarted
|
||||
# Will run: rc-service $SV -- --ifstarted restart
|
||||
SV_ALWAYS='{{ conf.get('always', defaults['always'])}}'
|
||||
SV_ALWAYS='{{ conf.get('always', defaults['always']) }}'
|
||||
|
||||
# Define services that can always be restarted, but excluding dependencies
|
||||
# Will run: rc-service $SV -- --ifstarted --nodeps restart
|
||||
SV_ALWAYS_WITH_NODEPS='{{ conf.get('always', defaults['always-nodeps'])}}'
|
||||
SV_ALWAYS_WITH_NODEPS='{{ conf.get('always', defaults['always-nodeps']) }}'
|
||||
|
||||
# Define services that must not be restarted without
|
||||
# the '--critical' option.
|
||||
# Here you should put services where a restart would
|
||||
# interrupt a service being offered to your users
|
||||
# Will run: rc-service $SV -- --ifstarted restart
|
||||
SV_CRITICAL='{{ conf.get('critical', defaults['critical'])}}'
|
||||
SV_CRITICAL='{{ conf.get('critical', defaults['critical']) }}'
|
||||
|
||||
# Define services that must not be restarted without
|
||||
# the '--critical' option and that require "--nodeps"
|
||||
# Here you should put services where a restart would
|
||||
# interrupt a service being offered to your users
|
||||
# Will run: rc-service $SV -- --ifstarted --nodeps restart
|
||||
SV_CRITICAL_WITH_NODEPS='{{ conf.get('critical-nodeps', defaults['critical-nodeps'])}}'
|
||||
SV_CRITICAL_WITH_NODEPS='{{ conf.get('critical-nodeps', defaults['critical-nodeps']) }}'
|
||||
|
||||
# Define services than only need to be reloaded
|
||||
# instead of restarted
|
||||
# Will run: rc-service $SV -- --ifstarted reload
|
||||
SV_ALWAYS_RELOAD_ONLY='{{ conf.get('always-reload-only', defaults['always-reload-only'])}}'
|
||||
SV_ALWAYS_RELOAD_ONLY='{{ conf.get('always-reload-only', defaults['always-reload-only']) }}'
|
||||
|
||||
# Define services that should be ignored
|
||||
SV_IGNORE='{{ conf.get('ignore', defaults['ignore'])}}'
|
||||
SV_IGNORE='{{ conf.get('ignore', defaults['ignore']) }}'
|
||||
|
||||
# Define processes started via inittab that should be killed
|
||||
INITTAB_KILLALL='{{ conf.get('inittab-killall', defaults['inittab-killall'])}}'
|
||||
INITTAB_KILLALL='{{ conf.get('inittab-killall', defaults['inittab-killall']) }}'
|
||||
|
||||
# load addional config files
|
||||
# to extend options in another file use a syntax like SV_ALWAYS+=( myservice )
|
||||
|
Loading…
Reference in New Issue
Block a user