Be more conservative about respawn

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2018-03-08 02:34:49 +03:00
parent 8ead4b8c47
commit eea04dff95
35 changed files with 15 additions and 35 deletions
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/env ssm
service_respawn='true'
service_command=( /usr/bin/acpid -f )
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/env ssm
service_respawn='true'
service_command=( /usr/bin/agetty 38400 "${service_name##*-}" linux )
-1
View File
@@ -1,6 +1,5 @@
#!/usr/bin/env ssm
#service_respawn='true'
service_command=( /usr/bin/alsactl rdaemon )
stop() {
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env ssm
service_respawn=true
service_respawn=always
service_command=( /usr/bin/atd -f )
-1
View File
@@ -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 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env ssm
#service_respawn='true'
service_respawn=always
service_command=( /usr/bin/chronyd -u chrony )
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/env ssm
#service_respawn='true'
service_command=( /usr/bin/cupsd -f )
-1
View File
@@ -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
View File
@@ -1,5 +1,4 @@
#!/usr/bin/env ssm
# dhcp client daemon initscript
#service_respawn=true
service_command=( /usr/bin/dhcpcd -B )
-1
View File
@@ -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
View File
@@ -1,6 +1,5 @@
#!/usr/bin/env ssm
#service_respawn='true'
service_command=(
'/usr/bin/dnscrypt-proxy'
"--local-address=${local_ip}:${local_port}"
-1
View File
@@ -1,6 +1,5 @@
#!/usr/bin/env ssm
#service_respawn='true'
service_command=( '/usr/bin/dockerd' -s overlay2 )
update() {
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env ssm
service_respawn=true
service_respawn=always
service_command='/usr/bin/dropbear'
-1
View File
@@ -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
View File
@@ -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
View File
@@ -1,4 +1,3 @@
#!/usr/bin/env ssm
#service_respawn=true
service_command=( /usr/bin/haproxy -db -f /etc/haproxy/haproxy.cfg )
-1
View File
@@ -1,5 +1,4 @@
#!/usr/bin/env ssm
# dhcp client daemon initscript
#service_respawn=true
service_command=( /usr/sbin/dhcpd -f )
+1 -1
View File
@@ -2,7 +2,7 @@
tty="${service_name##*-}"
service_respawn='true'
service_respawn=always
service_command=(
'/usr/bin/kmscon'
--vt "$tty"
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/env ssm
#service_respawn='true'
service_command='/usr/bin/libvirtd'
-1
View File
@@ -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
View File
@@ -1,4 +1,3 @@
#!/usr/bin/env ssm
#service_respawn=true
service_command=( /usr/bin/mpd --no-daemon )
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env ssm
service_respawn='true'
service_respawn=always
service_command='/usr/bin/ngetty'
+1 -1
View File
@@ -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'
-1
View File
@@ -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'
+1 -1
View File
@@ -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
View File
@@ -1,4 +1,3 @@
#!/usr/bin/env ssm
#service_respawn='true'
service_command=( /usr/bin/preload -f )
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env ssm
# Author: Alad Wenter
#service_respawn=true
service_respawn=always
service_command=( /usr/bin/rsyslogd -n )
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env ssm
#service_respawn='true'
service_respawn=always
service_command=( /usr/bin/crond -n )
+1 -1
View File
@@ -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 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env ssm
#service_respawn=true
sevice_respawn=always
service_command=( /usr/bin/syslog-ng -F )
-1
View File
@@ -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}"
+1 -1
View File
@@ -2,5 +2,5 @@
instance="${service_name##*-}"
service_respawn='true'
service_respawn=on-failure
service_command=( /usr/bin/tincd -D -n "$instance" )
+1 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env ssm
#service_respawn='true'
service_respawn=on-failure
service_command=( /usr/bin/unbound -d )
pre_reload() {
+1 -1
View File
@@ -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 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env ssm
#service_respawn='true'
service_respawn=always
service_command=( /usr/bin/crond -f )