summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd/apache2/files/apache2.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-webserver/recipes-httpd/apache2/files/apache2.service')
-rw-r--r--meta-webserver/recipes-httpd/apache2/files/apache2.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/files/apache2.service b/meta-webserver/recipes-httpd/apache2/files/apache2.service
new file mode 100644
index 000000000..f4bcf9efa
--- /dev/null
+++ b/meta-webserver/recipes-httpd/apache2/files/apache2.service
@@ -0,0 +1,14 @@
1[Unit]
2Decription=The Apache HTTP Server
3After=network.target remote-fs.target nss-lookup.target
4
5[Service]
6Type=simple
7Environment=LANG=C
8ExecStart=@SBINDIR@/httpd -DFOREGROUND -D SSL -D PHP5 -k start
9ExecStop=@BASE_BINDIR@/kill -WINCH ${MAINPID}
10KillSignal=SIGCONT
11PrivateTmp=true
12
13[Install]
14WantedBy=multi-user.target