Let's only respawn the services that might need it
This commit is contained in:
parent
6f3b87a65f
commit
668b2c1d19
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn='true'
|
||||
service_command='/bin/agetty'
|
||||
service_args="38400 ${service_name##*-} linux"
|
||||
service_respawn='true'
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
agetty
|
5
init.d/agetty-tty1
Executable file
5
init.d/agetty-tty1
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_command='/bin/agetty'
|
||||
service_args="38400 ${service_name##*-} linux"
|
||||
#service_respawn='true'
|
|
@ -1 +0,0 @@
|
|||
agetty
|
5
init.d/agetty-tty2
Executable file
5
init.d/agetty-tty2
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_command='/bin/agetty'
|
||||
service_args="38400 ${service_name##*-} linux"
|
||||
#service_respawn='true'
|
|
@ -1 +0,0 @@
|
|||
agetty
|
5
init.d/agetty-tty3
Executable file
5
init.d/agetty-tty3
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_command='/bin/agetty'
|
||||
service_args="38400 ${service_name##*-} linux"
|
||||
#service_respawn='true'
|
|
@ -1 +0,0 @@
|
|||
agetty
|
5
init.d/agetty-tty4
Executable file
5
init.d/agetty-tty4
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_command='/bin/agetty'
|
||||
service_args="38400 ${service_name##*-} linux"
|
||||
#service_respawn='true'
|
|
@ -1 +0,0 @@
|
|||
agetty
|
5
init.d/agetty-tty5
Executable file
5
init.d/agetty-tty5
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_command='/bin/agetty'
|
||||
service_args="38400 ${service_name##*-} linux"
|
||||
#service_respawn='true'
|
|
@ -1 +0,0 @@
|
|||
agetty
|
5
init.d/agetty-tty6
Executable file
5
init.d/agetty-tty6
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_command='/bin/agetty'
|
||||
service_args="38400 ${service_name##*-} linux"
|
||||
#service_respawn='true'
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn='true'
|
||||
#service_respawn='true'
|
||||
service_command='/bin/alsactl'
|
||||
service_args="rdaemon"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn='true'
|
||||
#service_respawn='true'
|
||||
service_username='torrent'
|
||||
service_command='sudo'
|
||||
service_args="-u $service_username -- /usr/bin/bitflu --config=/etc/bitflu.cfg"
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
unset reload
|
||||
|
||||
service_respawn=true
|
||||
service_command='/usr/local/bin/run-cjdroute'
|
||||
#service_respawn=true
|
||||
|
||||
cjdroute_config='/etc/cjdroute.conf'
|
||||
cjdroute_admin_port='11234'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn='true'
|
||||
#service_respawn='true'
|
||||
service_command='/bin/crond'
|
||||
service_args='-n'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn='true'
|
||||
#service_respawn='true'
|
||||
service_command='/bin/cupsd'
|
||||
service_args="-f"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn=true
|
||||
#service_respawn=true
|
||||
service_command='/usr/bin/dbus-daemon'
|
||||
service_args='--system --nofork'
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env watchman
|
||||
# dhcp client daemon initscript
|
||||
|
||||
service_respawn=true
|
||||
#service_respawn=true
|
||||
service_command='/usr/sbin/dhcpcd'
|
||||
service_args='-B'
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
# soft depend, OR return 1 for hard depend
|
||||
depends dnscrypt-backup
|
||||
|
||||
service_respawn='true'
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/dnscrypt-proxy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn='true'
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/dnscrypt-proxy'
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
docker_dir='/home/docker'
|
||||
|
||||
service_respawn='true'
|
||||
#service_respawn='true'
|
||||
service_command='/usr/local/sbin/docker'
|
||||
service_args="-g ${docker_dir} -d"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn='true'
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/udevd'
|
||||
|
||||
cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
# The configuration is in conf.d.
|
||||
|
||||
service_respawn='true'
|
||||
#service_respawn='true'
|
||||
service_command='/bin/spawn-fcgi'
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
kmscon
|
7
init.d/kmscon-tty1
Executable file
7
init.d/kmscon-tty1
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
tty=${service_name##*-};
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/kmscon'
|
||||
service_args="--vt ${tty}"
|
|
@ -1 +0,0 @@
|
|||
kmscon
|
7
init.d/kmscon-tty2
Executable file
7
init.d/kmscon-tty2
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
tty=${service_name##*-};
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/kmscon'
|
||||
service_args="--vt ${tty}"
|
|
@ -1 +0,0 @@
|
|||
kmscon
|
7
init.d/kmscon-tty3
Executable file
7
init.d/kmscon-tty3
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
tty=${service_name##*-};
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/kmscon'
|
||||
service_args="--vt ${tty}"
|
|
@ -1 +0,0 @@
|
|||
kmscon
|
7
init.d/kmscon-tty4
Executable file
7
init.d/kmscon-tty4
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
tty=${service_name##*-};
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/kmscon'
|
||||
service_args="--vt ${tty}"
|
|
@ -1 +0,0 @@
|
|||
kmscon
|
7
init.d/kmscon-tty5
Executable file
7
init.d/kmscon-tty5
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
tty=${service_name##*-};
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/kmscon'
|
||||
service_args="--vt ${tty}"
|
|
@ -1 +0,0 @@
|
|||
kmscon
|
7
init.d/kmscon-tty6
Executable file
7
init.d/kmscon-tty6
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
tty=${service_name##*-};
|
||||
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/kmscon'
|
||||
service_args="--vt ${tty}"
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn=true
|
||||
#service_respawn=true
|
||||
service_command='/bin/mpd'
|
||||
service_args='--no-daemon'
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn='true'
|
||||
service_command='/usr/bin/nginx'
|
||||
service_pidfile='/run/nginx.pid'
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
cfg_nrpe_config='/etc/nrpe/nrpe.cfg'
|
||||
|
||||
service_respawn=true
|
||||
#service_respawn=true
|
||||
service_command='/usr/bin/nrpe'
|
||||
service_pidfile='/run/nrpe.pid'
|
||||
service_args="-c ${cfg_nrpe_config} -d"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn='true'
|
||||
#service_respawn='true'
|
||||
service_command='/bin/ntpd'
|
||||
service_args='-n'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn='true'
|
||||
#service_respawn='true'
|
||||
service_command='/bin/ntpd'
|
||||
service_args='-d'
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
cfg_ovpn_instance="${service_name##*-}"
|
||||
|
||||
service_command="/usr/sbin/openvpn"
|
||||
service_workdir="/etc/openvpn/$cfg_ovpn_instance"
|
||||
service_args="client.cfg"
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn='true'
|
||||
#service_respawn='true'
|
||||
service_command='/bin/preload'
|
||||
service_args='-f'
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
privoxy_username='privoxy'
|
||||
privoxy_configfile='/etc/privoxy/config'
|
||||
|
||||
service_respawn='true'
|
||||
#service_respawn='true'
|
||||
service_command='/usr/bin/privoxy'
|
||||
service_args="--no-daemon --user ${privoxy_username} ${privoxy_configfile}"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn=true
|
||||
#service_respawn=true
|
||||
service_command='/bin/syslog-ng'
|
||||
service_args='-F'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn='true'
|
||||
#service_respawn='true'
|
||||
service_command='/usr/lib/systemd/systemd-udevd'
|
||||
|
||||
cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_respawn=true
|
||||
#service_respawn=true
|
||||
service_command='/usr/bin/xinetd'
|
||||
service_args='-dontfork'
|
||||
|
|
Loading…
Reference in New Issue
Block a user