httpd/httpd.service

17 lines
388 B
SYSTEMD
Raw Normal View History

[Unit]
Description=The Apache HTTP Server (@NAME@ MPM)
After=syslog.target network.target remote-fs.target
[Service]
Type=forking
PIDFile=/var/run/httpd/httpd.pid
EnvironmentFile=/etc/sysconfig/httpd
ExecStart=@EXEC@ $OPTIONS -k start
ExecReload=@EXEC@ $OPTIONS -t
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=@EXEC@ $OPTIONS -k stop
PrivateTmp=true
[Install]
WantedBy=multi-user.target