aboutsummaryrefslogtreecommitdiff
path: root/services/nginx
diff options
context:
space:
mode:
authorDavid Oberhollenzer <goliath@infraroot.at>2019-03-20 15:45:24 +0100
committerDavid Oberhollenzer <goliath@infraroot.at>2019-03-20 20:52:55 +0100
commit244f4bbe7a03b8ce1f706e2481deaabcdf7c2b3c (patch)
tree759725bb56f2d75a9b0ad70acb0aa7b899068a90 /services/nginx
parent655daedb938b4e73b4a6c88bb2e13d652c0cccb5 (diff)
Run various services in foreground
This commit changes dhpcd master and nginx scripts to run the respective processes in background and let initd supervise them directly. Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'services/nginx')
-rw-r--r--services/nginx6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/nginx b/services/nginx
index 6a36af9..4a77ca4 100644
--- a/services/nginx
+++ b/services/nginx
@@ -1,6 +1,6 @@
-description "start nginx web server"
-type once
+description "nginx web server"
+type respawn limit 10
target boot
after network
tty /dev/null
-exec nginx
+exec nginx -g "daemon off;"