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>
master
David Oberhollenzer 4 years ago
parent 655daedb93
commit 244f4bbe7a
  1. 4
      services/dhcpcdmaster
  2. 6
      services/nginx

@ -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
}

@ -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;"

Loading…
Cancel
Save