summaryrefslogtreecommitdiff
path: root/openstack/etc/systemd/system/apache-httpd.service
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-12 17:26:00 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-12 17:26:00 +0000
commit88c8c3fc93c6b7c3b2f5e54dd19d5a84ae126626 (patch)
tree97076d768900b0f1f0361efd899ac75cf0937c6c /openstack/etc/systemd/system/apache-httpd.service
parent1319309d3ff4eb85cb0e7e6cb178cb56ff116524 (diff)
downloaddefinitions-88c8c3fc93c6b7c3b2f5e54dd19d5a84ae126626.tar.gz
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