summaryrefslogtreecommitdiffstats
path: root/httpd.service
blob: 0e9f0c0c97bacf7aab394234e982dac2e095c08d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target

[Service]
Type=forking
PIDFile=/run/httpd/httpd.pid
EnvironmentFile=/etc/sysconfig/httpd
ExecStart=/usr/sbin/httpd $OPTIONS
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop
PrivateTmp=true

[Install]
WantedBy=multi-user.target