mdserver-web/plugins/apache/init.d/httpd.service.tpl

17 lines
407 B
Smarty
Raw Normal View History

2026-04-11 04:18:12 -04:00
[Unit]
2026-04-11 08:14:46 -04:00
Description=Apache Web Server
2026-04-11 04:18:12 -04:00
After=network.target
[Service]
2026-04-11 08:14:46 -04:00
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
2026-04-11 04:18:12 -04:00
Restart=on-failure
[Install]
WantedBy=multi-user.target