diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2014-08-25 14:47:20 +0800 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-27 12:49:20 +0200 |
| commit | 49cb17b4978bf586311f5b8ab4b1b3810098c297 (patch) | |
| tree | f3fbedd3cff15ff3c662e2d0b06a732491e72d8e /meta-webserver/recipes-httpd/apache2/files | |
| parent | 44834de2a3651cb84c8f46489fb6a5f75d6a6787 (diff) | |
| download | meta-openembedded-49cb17b4978bf586311f5b8ab4b1b3810098c297.tar.gz | |
apache2: add systemd unit file
Add systemd unit file for apache2.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-webserver/recipes-httpd/apache2/files')
| -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 0000000000..f4bcf9efaf --- /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 | ||
