summaryrefslogtreecommitdiffstats
path: root/httpd.service
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-03-24 08:24:02 +0100
committerRemi Collet <fedora@famillecollet.com>2012-03-24 08:24:02 +0100
commitc711ee8af9f094852c6d1917a0b111a276e7b320 (patch)
tree11e6d378e9e2c593854aee20b6efe0c2dbd483f9 /httpd.service
parentea8928fb799b042740b834100683ff3735575a84 (diff)
httpd: import from rawhide (version 2.4.1)
Diffstat (limited to 'httpd.service')
-rw-r--r--httpd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/httpd.service b/httpd.service
new file mode 100644
index 0000000..fda59d2
--- /dev/null
+++ b/httpd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=The Apache HTTP Server
+After=syslog.target network.target remote-fs.target nss-lookup.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/httpd/httpd.pid
+EnvironmentFile=/etc/sysconfig/httpd
+ExecStart=/usr/sbin/httpd $OPTIONS
+ExecReload=/usr/sbin/httpd $OPTIONS -t
+ExecReload=/usr/sbin/httpd -HUP $MAINPID
+ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target