aboutsummaryrefslogtreecommitdiff
path: root/contrib/runit.boot
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-16 15:55:20 +0300
committerCem Keylan <cem@ckyln.com>2020-09-16 15:55:20 +0300
commit79fafa3c6aa574f641d634fd3e136f29ec0ee9cf (patch)
tree2047c83784422790809db925811e6a50a971bc02 /contrib/runit.boot
parentee006dbf0743bd3276ca3cdd1d6b5b563aa933f6 (diff)
downloadinit-79fafa3c6aa574f641d634fd3e136f29ec0ee9cf.tar.gz
respawn: add seperate shell utility instead of running while loops
Technically, these are the same shell commands, but since they are run by a separate shell, they are easier to predict and easier to kill.
Diffstat (limited to 'contrib/runit.boot')
-rw-r--r--contrib/runit.boot2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/runit.boot b/contrib/runit.boot
index aafe142..f8858c9 100644
--- a/contrib/runit.boot
+++ b/contrib/runit.boot
@@ -1 +1 @@
-while :; do /usr/bin/runsvdir -P /var/service ; done &
+respawn runsvdir -P /var/service ; done &