enabled service_respawn by default for most services

This commit is contained in:
Jack L. Frost 2014-07-28 05:00:57 +04:00
parent b4d3135878
commit 5473f922a1
8 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#!/usr/bin/env watchman #!/usr/bin/env watchman
service_respawn='true'
service_command='/bin/alsactl' service_command='/bin/alsactl'
service_args="rdaemon" service_args="rdaemon"

View File

@ -1,5 +1,6 @@
#!/usr/bin/env watchman #!/usr/bin/env watchman
service_respawn='true'
service_username='torrent' service_username='torrent'
service_command='sudo' service_command='sudo'
service_args="-u $service_username -- /usr/bin/bitflu --config=/etc/bitflu.cfg" service_args="-u $service_username -- /usr/bin/bitflu --config=/etc/bitflu.cfg"

View File

@ -1,4 +1,5 @@
#!/usr/bin/env watchman #!/usr/bin/env watchman
service_respawn='true'
service_command='/bin/crond' service_command='/bin/crond'
service_args='-n' service_args='-n'

View File

@ -2,6 +2,7 @@
docker_dir='/home/docker' docker_dir='/home/docker'
service_respawn='true'
service_command='/usr/local/sbin/docker' service_command='/usr/local/sbin/docker'
service_args="-g ${docker_dir} -d" service_args="-g ${docker_dir} -d"

View File

@ -1,5 +1,6 @@
#!/usr/bin/env watchman #!/usr/bin/env watchman
service_respawn='true'
service_command='/usr/bin/udevd' service_command='/usr/bin/udevd'
cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}" cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}"

View File

@ -1,5 +1,6 @@
#!/usr/bin/env watchman #!/usr/bin/env watchman
service_respawn='true'
service_command='/usr/bin/nginx' service_command='/usr/bin/nginx'
service_pidfile='/run/nginx.pid' service_pidfile='/run/nginx.pid'

View File

@ -1,4 +1,5 @@
#!/usr/bin/env watchman #!/usr/bin/env watchman
service_respawn='true'
service_command='/bin/preload' service_command='/bin/preload'
service_args='-f' service_args='-f'

View File

@ -1,5 +1,6 @@
#!/usr/bin/env watchman #!/usr/bin/env watchman
service_respawn='true'
service_command='/usr/lib/systemd/systemd-udevd' service_command='/usr/lib/systemd/systemd-udevd'
cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}" cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}"