summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/apache-httpd.service
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-04-13 15:57:48 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-04-13 15:57:48 +0000
commit31f8afcf80cacf8cbfffd7cbdfc75241d8e3a223 (patch)
tree8fc55cdecba638aa86b6b913be0eb869aea620ed /openstack/usr/lib/systemd/system/apache-httpd.service
parent736a9e13e5586063e7a188b6cb57e9c1aea3b6d8 (diff)
downloaddefinitions-baserock/openstack-baserock-upstream-all.tar.gz
Change-Id: I882fb2ad7a4cdbbd9daf11d802b4f84d1b79b03b
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