mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update httpd.service.tpl
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
[Unit]
|
||||
Description=OpenResty is a dynamic web platform based on NGINX and LuaJIT.
|
||||
Description=Apache Web Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart={$SERVER_PATH}/apache/bin/httpd -c {$SERVER_PATH}/apache/nginx/conf/nginx.conf
|
||||
ExecStop={$SERVER_PATH}/apache/bin/httpd -s stop
|
||||
ExecReload={$SERVER_PATH}/apache/bin/httpd -s reload
|
||||
KillMode=process
|
||||
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=apache
|
||||
Group=apache
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user