aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/dhcpcdmaster4
-rw-r--r--services/nginx6
2 files changed, 5 insertions, 5 deletions
diff --git a/services/dhcpcdmaster b/services/dhcpcdmaster
index 879497a..1bb0a3a 100644
--- a/services/dhcpcdmaster
+++ b/services/dhcpcdmaster
@@ -1,10 +1,10 @@
description "DHCP client - master service"
-type wait
+type respawn limit 5
target boot
after network
tty /dev/null
exec {
mkdir -p /var/db/dhcpcd
- dhcpcd --inactive
+ dhcpcd --inactive --nobackground
}
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;"