2011-04-12 14:39:15 +00:00
|
|
|
[Unit]
|
2012-03-13 09:55:18 +00:00
|
|
|
Description=The Apache HTTP Server
|
2012-01-23 11:46:55 +00:00
|
|
|
After=syslog.target network.target remote-fs.target nss-lookup.target
|
2011-04-12 14:39:15 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
PIDFile=/var/run/httpd/httpd.pid
|
|
|
|
EnvironmentFile=/etc/sysconfig/httpd
|
2012-03-13 15:33:26 +00:00
|
|
|
ExecStart=/usr/sbin/httpd $OPTIONS
|
2012-03-13 09:55:18 +00:00
|
|
|
ExecReload=/usr/sbin/httpd $OPTIONS -t
|
|
|
|
ExecReload=/usr/sbin/httpd -HUP $MAINPID
|
|
|
|
ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop
|
2012-01-17 13:17:38 +00:00
|
|
|
PrivateTmp=true
|
2011-04-12 14:39:15 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|