mirror of https://github.com/midoks/mdserver-web
parent
9a59b2ad3f
commit
6d06f1fbce
@ -0,0 +1,17 @@ |
||||
[Unit] |
||||
Description=Apache Web Server |
||||
After=network.target |
||||
|
||||
[Service] |
||||
Type=forking |
||||
PIDFile={$SERVER_PATH}/apache/httpd/logs/httpd.pid |
||||
ExecStart={$SERVER_PATH}/apache/httpd/bin/apachectl start |
||||
ExecReload={$SERVER_PATH}/apache/httpd/bin/apachectl graceful |
||||
ExecStop={$SERVER_PATH}/apache/httpd/bin/apachectl stop |
||||
PrivateTmp=true |
||||
User=www |
||||
Group=www |
||||
Restart=on-failure |
||||
|
||||
[Install] |
||||
WantedBy=multi-user.target |
||||
Loading…
Reference in new issue