From d3078b183348e703cf5928128d2706c31fc7d870 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Wed, 5 Mar 2014 13:16:40 -0600 Subject: Initial commit. --- clfs/units/httpd.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 clfs/units/httpd.service (limited to 'clfs/units/httpd.service') diff --git a/clfs/units/httpd.service b/clfs/units/httpd.service new file mode 100644 index 0000000..bb02b59 --- /dev/null +++ b/clfs/units/httpd.service @@ -0,0 +1,15 @@ +[Unit] +Description=Apache Web Server +After=network.target remote-fs.target nss-lookup.target + +[Service] +Type=forking +PIDFile=/run/httpd/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 -- cgit v1.2.3-54-g00ecf