summarylogtreecommitdiffstats
path: root/httpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'httpd.service')
-rw-r--r--httpd.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/httpd.service b/httpd.service
new file mode 100644
index 000000000000..247e28fba9fb
--- /dev/null
+++ b/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/bin/apachectl start
+ExecStop=/usr/bin/apachectl graceful-stop
+ExecReload=/usr/bin/apachectl graceful
+PrivateTmp=true
+LimitNOFILE=infinity
+
+[Install]
+WantedBy=multi-user.target