1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-12-22 15:20:49 +01:00

Add nginx service

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-10-07 01:35:28 +02:00
parent e171f88865
commit 209121cdeb
3 changed files with 9 additions and 1 deletions

View file

@ -116,3 +116,5 @@ For the shutdown and reboot targets, the following services are executed:
server and then disables itself.
* sshd - Starts an OpenSSH server after the network pseudo service and after
the sshd_keygen service.
* nginx - Starts the Nginx server after the network pseudo serivce.

View file

@ -9,6 +9,7 @@ init_DATA += services/dnsmasq services/ifdown services/modules
init_DATA += services/network services/hostapd services/swclock
init_DATA += services/swclocksave services/nft services/sigkill
init_DATA += services/sshd services/sshd_keygen services/consolefont
init_DATA += services/nginx
if GCROND
init_DATA += services/swclocksave.gcron
@ -31,4 +32,4 @@ EXTRA_DIST += services/hwclock services/loopback services/klogd
EXTRA_DIST += services/sync services/sysctl services/tmpfs
EXTRA_DIST += services/dhcpcd services/dhcpcdmaster services/unbound
EXTRA_DIST += services/usyslogd services/dnsmasq services/network
EXTRA_DIST += services/consolefont services/gcrond
EXTRA_DIST += services/consolefont services/gcrond services/nginx

5
services/nginx Normal file
View file

@ -0,0 +1,5 @@
description "start nginx web server"
type once
target boot
after network
exec nginx