summaryrefslogtreecommitdiff
path: root/extra/apache/httpd.service
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-20 01:37:39 -0700
committerroot <root@rshg054.dnsready.net>2012-09-20 01:37:39 -0700
commit005a14f92ef5d35e4c47d970cb7e69367a835958 (patch)
treec9e998e38c83fe1d0947a0ceec528b45b4aaa1f1 /extra/apache/httpd.service
parente8f387c8a45ee846f01fed02259d061d2d6e8d3d (diff)
Thu Sep 20 01:37:13 PDT 2012
Diffstat (limited to 'extra/apache/httpd.service')
-rw-r--r--extra/apache/httpd.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/apache/httpd.service b/extra/apache/httpd.service
new file mode 100644
index 000000000..bb02b5992
--- /dev/null
+++ b/extra/apache/httpd.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Apache Web Server
+After=network.target remote-fs.target nss-lookup.target
+
+[Service]
+Type=forking
+PIDFile=/run/httpd/httpd.pid
+ExecStart=/usr/sbin/apachectl start
+ExecStop=/usr/sbin/apachectl graceful-stop
+ExecReload=/usr/sbin/apachectl graceful
+PrivateTmp=true
+LimitNOFILE=infinity
+
+[Install]
+WantedBy=multi-user.target