aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/defconfig.md2
-rw-r--r--services/Makemodule.am3
-rw-r--r--services/nginx5
3 files changed, 9 insertions, 1 deletions
diff --git a/docs/defconfig.md b/docs/defconfig.md
index 3ab6563..a2c790f 100644
--- a/docs/defconfig.md
+++ b/docs/defconfig.md
@@ -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.
+
diff --git a/services/Makemodule.am b/services/Makemodule.am
index 5ca304c..9aa620c 100644
--- a/services/Makemodule.am
+++ b/services/Makemodule.am
@@ -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
diff --git a/services/nginx b/services/nginx
new file mode 100644
index 0000000..cab373f
--- /dev/null
+++ b/services/nginx
@@ -0,0 +1,5 @@
+description "start nginx web server"
+type once
+target boot
+after network
+exec nginx