diff --git a/init.d/alsa b/init.d/alsa index f8097f6..2d029c8 100755 --- a/init.d/alsa +++ b/init.d/alsa @@ -1,5 +1,6 @@ #!/usr/bin/env watchman +service_respawn='true' service_command='/bin/alsactl' service_args="rdaemon" diff --git a/init.d/bitflu b/init.d/bitflu index 0f7fb6b..08302ff 100755 --- a/init.d/bitflu +++ b/init.d/bitflu @@ -1,5 +1,6 @@ #!/usr/bin/env watchman +service_respawn='true' service_username='torrent' service_command='sudo' service_args="-u $service_username -- /usr/bin/bitflu --config=/etc/bitflu.cfg" diff --git a/init.d/crond b/init.d/crond index cf7c722..c5365b5 100755 --- a/init.d/crond +++ b/init.d/crond @@ -1,4 +1,5 @@ #!/usr/bin/env watchman +service_respawn='true' service_command='/bin/crond' service_args='-n' diff --git a/init.d/docker b/init.d/docker index 8097492..f25e9b4 100755 --- a/init.d/docker +++ b/init.d/docker @@ -2,6 +2,7 @@ docker_dir='/home/docker' +service_respawn='true' service_command='/usr/local/sbin/docker' service_args="-g ${docker_dir} -d" diff --git a/init.d/eudev b/init.d/eudev index 87471fc..dd9fa48 100755 --- a/init.d/eudev +++ b/init.d/eudev @@ -1,5 +1,6 @@ #!/usr/bin/env watchman +service_respawn='true' service_command='/usr/bin/udevd' cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}" diff --git a/init.d/nginx b/init.d/nginx index 08d18a9..c9b8a39 100755 --- a/init.d/nginx +++ b/init.d/nginx @@ -1,5 +1,6 @@ #!/usr/bin/env watchman +service_respawn='true' service_command='/usr/bin/nginx' service_pidfile='/run/nginx.pid' diff --git a/init.d/preload b/init.d/preload index 6ad2a19..4b33022 100755 --- a/init.d/preload +++ b/init.d/preload @@ -1,4 +1,5 @@ #!/usr/bin/env watchman +service_respawn='true' service_command='/bin/preload' service_args='-f' diff --git a/init.d/systemd-udevd b/init.d/systemd-udevd index e98d088..2c3ddb4 100755 --- a/init.d/systemd-udevd +++ b/init.d/systemd-udevd @@ -1,5 +1,6 @@ #!/usr/bin/env watchman +service_respawn='true' service_command='/usr/lib/systemd/systemd-udevd' cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}"