summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/apache-httpd.service
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-14 14:25:14 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-04-14 16:37:45 +0000
commit48ae728a00604972cfab420d4c2e3bd1ed2be703 (patch)
tree08b56c0f2960b285ffa2948d999f16777d9cf77f /openstack/usr/lib/systemd/system/apache-httpd.service
parentbfba4edd5fa6af1c289611fa5c3332dfabe76566 (diff)
downloaddefinitions-48ae728a00604972cfab420d4c2e3bd1ed2be703.tar.gz
Openstack: Make Horizon configurable
Signed-off-by: Pedro Alvarez <pedro.alvarez@codethink.co.uk> Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> Signed-off-by: Zara Zaimeche <zara.zaimeche@codethink.co.uk> Signed-off-by: Mike Smith <mike.smith@codethink.co.uk> Change-Id: Ifead2518e116cffacefa27ef8a105d9baefe9513
Diffstat (limited to 'openstack/usr/lib/systemd/system/apache-httpd.service')
-rw-r--r--openstack/usr/lib/systemd/system/apache-httpd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/apache-httpd.service b/openstack/usr/lib/systemd/system/apache-httpd.service
new file mode 100644
index 00000000..adc84f40
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/apache-httpd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Apache Web Server
+After=network-online.target remote-fs.target nss-lookup.target
+Wants=network-online.target
+
+[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