diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-03-16 15:12:14 +0000 |
---|---|---|
committer | Richard Ipsum <richardipsum@fastmail.co.uk> | 2015-04-10 20:17:46 +0100 |
commit | ded5f85b73b7e4544bded9d69aadd27f61e3539f (patch) | |
tree | fa458c28f0785eed60f13dd70df4fdd0e6b8c973 /openstack/usr/lib/systemd/system/apache-httpd.service | |
parent | 965dc0b42431047ce552a92cb9e22d9d667ea53d (diff) | |
download | definitions-ded5f85b73b7e4544bded9d69aadd27f61e3539f.tar.gz |
Move systemd units to /usr/lib/systemd/system as defined in systemd documentation
See http://www.freedesktop.org/software/systemd/man/systemd.unit.html for more
information
Diffstat (limited to 'openstack/usr/lib/systemd/system/apache-httpd.service')
-rw-r--r-- | openstack/usr/lib/systemd/system/apache-httpd.service | 15 |
1 files changed, 15 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..f1211ac9 --- /dev/null +++ b/openstack/usr/lib/systemd/system/apache-httpd.service @@ -0,0 +1,15 @@ +[Unit] +Description=Apache Web Server +After=network.target remote-fs.target nss-lookup.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 |