forked from Spark/ssm-services
Be more conservative about respawn
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
8ead4b8c47
commit
eea04dff95
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_respawn='true'
|
||||
service_command=( /usr/bin/acpid -f )
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_respawn='true'
|
||||
service_command=( /usr/bin/agetty 38400 "${service_name##*-}" linux )
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command=( /usr/bin/alsactl rdaemon )
|
||||
|
||||
stop() {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_respawn=true
|
||||
service_respawn=always
|
||||
service_command=( /usr/bin/atd -f )
|
||||
|
|
|
@ -2,5 +2,4 @@
|
|||
# This script is intended for Daemon mode.
|
||||
# Modify it for your setup.
|
||||
|
||||
#service_respawn=true
|
||||
service_command=( /usr/bin/bitlbee -n )
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_respawn=always
|
||||
service_command=( /usr/bin/chronyd -u chrony )
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command=( /usr/bin/cupsd -f )
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn=true
|
||||
service_command=( /usr/bin/dbus-daemon --system --nofork )
|
||||
service_tmpfiles=( '/run/dbus:dir' )
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
# dhcp client daemon initscript
|
||||
|
||||
#service_respawn=true
|
||||
service_command=( /usr/bin/dhcpcd -B )
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
# soft depend, OR return 1 for hard depend
|
||||
depends dnscrypt-backup
|
||||
|
||||
#service_respawn='true'
|
||||
service_command=(
|
||||
'/usr/bin/dnscrypt-proxy'
|
||||
"--local-address=${local_ip}:${local_port}"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command=(
|
||||
'/usr/bin/dnscrypt-proxy'
|
||||
"--local-address=${local_ip}:${local_port}"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command=( '/usr/bin/dockerd' -s overlay2 )
|
||||
|
||||
update() {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_respawn=true
|
||||
service_respawn=always
|
||||
service_command='/usr/bin/dropbear'
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/udevd'
|
||||
|
||||
cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}"
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
# The configuration is in conf.d.
|
||||
|
||||
#service_respawn='true'
|
||||
service_command=( /usr/bin/spawn-fcgi -s "$cfg_socket" -P "$service_pidfile" -u "$cfg_user" -g "$cfg_group" -- /usr/bin/fcgiwrap )
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn=true
|
||||
service_command=( /usr/bin/haproxy -db -f /etc/haproxy/haproxy.cfg )
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
# dhcp client daemon initscript
|
||||
|
||||
#service_respawn=true
|
||||
service_command=( /usr/sbin/dhcpd -f )
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
tty="${service_name##*-}"
|
||||
|
||||
service_respawn='true'
|
||||
service_respawn=always
|
||||
service_command=(
|
||||
'/usr/bin/kmscon'
|
||||
--vt "$tty"
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/libvirtd'
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_workdir='/usr'
|
||||
service_command=( /usr/bin/mysqld_safe --datadir=/var/lib/mysql )
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn=true
|
||||
service_command=( /usr/bin/mpd --no-daemon )
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
service_respawn='true'
|
||||
service_respawn=always
|
||||
service_command='/usr/bin/ngetty'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
# For respawn to work, set 'daemon no' in nginx.conf
|
||||
#service_respawn='true'
|
||||
#service_respawn=on-failure
|
||||
service_command='/usr/bin/nginx'
|
||||
service_pidfile='/run/nginx.pid'
|
||||
|
||||
|
|
|
@ -2,6 +2,5 @@
|
|||
|
||||
cfg_nrpe_config='/etc/nrpe/nrpe.cfg'
|
||||
|
||||
#service_respawn=true
|
||||
service_command=( /usr/bin/nrpe -c "$cfg_nrpe_config" -d )
|
||||
service_pidfile='/run/nrpe.pid'
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
cfg_ovpn_instance="${service_name##*-}"
|
||||
|
||||
service_respawn='true'
|
||||
service_respawn=on-failure
|
||||
service_command=( /usr/bin/openvpn client.cfg )
|
||||
service_workdir="/etc/openvpn/$cfg_ovpn_instance"
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command=( /usr/bin/preload -f )
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env ssm
|
||||
# Author: Alad Wenter
|
||||
|
||||
#service_respawn=true
|
||||
service_respawn=always
|
||||
service_command=( /usr/bin/rsyslogd -n )
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_respawn=always
|
||||
service_command=( /usr/bin/crond -n )
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
cfg_sshd_cfgdir='/etc/ssh'
|
||||
|
||||
service_respawn=true
|
||||
service_respawn=always
|
||||
service_command=( /usr/bin/sshd -D -f "$cfg_sshd_cfgdir/sshd_config" )
|
||||
|
||||
depends_ready=( znet )
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn=true
|
||||
sevice_respawn=always
|
||||
service_command=( /usr/bin/syslog-ng -F )
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/lib/systemd/systemd-udevd'
|
||||
|
||||
cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}"
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
instance="${service_name##*-}"
|
||||
|
||||
service_respawn='true'
|
||||
service_respawn=on-failure
|
||||
service_command=( /usr/bin/tincd -D -n "$instance" )
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_respawn=on-failure
|
||||
service_command=( /usr/bin/unbound -d )
|
||||
|
||||
pre_reload() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_respawn=on-failure
|
||||
service_command=( /usr/bin/vdevd -f /dev )
|
||||
service_tmpfiles=( '/run/vdev:dir' '/run/udev:symlink:/dev/metadata/udev' )
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env ssm
|
||||
|
||||
#service_respawn='true'
|
||||
service_respawn=always
|
||||
service_command=( /usr/bin/crond -f )
|
||||
|
|
Loading…
Reference in New Issue
Block a user