summaryrefslogtreecommitdiff
path: root/openstack/etc/systemd/system/apache-httpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/etc/systemd/system/apache-httpd.service')
-rw-r--r--openstack/etc/systemd/system/apache-httpd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/openstack/etc/systemd/system/apache-httpd.service b/openstack/etc/systemd/system/apache-httpd.service
new file mode 100644
index 00000000..01627e02
--- /dev/null
+++ b/openstack/etc/systemd/system/apache-httpd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Apache Web Server
+Requires=apache-httpd-server-setup.service openstack-horizon-setup.service
+After=network.target remote-fs.target nss-lookup.target apache-httpd-server-setup.service openstack-horizon-setup.service
+
+[Service]
+Type=forking
+PIDFile=/var/run/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