diff options
Diffstat (limited to 'meta-webserver/recipes-httpd/apache2/files/apache2.service')
-rw-r--r-- | meta-webserver/recipes-httpd/apache2/files/apache2.service | 14 |
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] | ||
2 | Decription=The Apache HTTP Server | ||
3 | After=network.target remote-fs.target nss-lookup.target | ||
4 | |||
5 | [Service] | ||
6 | Type=simple | ||
7 | Environment=LANG=C | ||
8 | ExecStart=@SBINDIR@/httpd -DFOREGROUND -D SSL -D PHP5 -k start | ||
9 | ExecStop=@BASE_BINDIR@/kill -WINCH ${MAINPID} | ||
10 | KillSignal=SIGCONT | ||
11 | PrivateTmp=true | ||
12 | |||
13 | [Install] | ||
14 | WantedBy=multi-user.target | ||