mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-27 12:30:34 -09:00
apache: add systemd init script
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
28de0c07cf
commit
2ce4028d5f
13
package/apache/apache.service
Normal file
13
package/apache/apache.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Apache HTTP Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/apachectl start
|
||||
ExecReload=/usr/bin/apachectl graceful
|
||||
ExecStop=/usr/bin/apachectl stop
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user