diff options
author | William Harrington <kb0iic@berzerkula.org> | 2014-03-05 13:16:40 -0600 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2014-03-05 13:16:40 -0600 |
commit | d3078b183348e703cf5928128d2706c31fc7d870 (patch) | |
tree | d63a12e38bbf721d79d3181351e1efc1bfc22af9 /clfs/units/httpd.service |
Initial commit.
Diffstat (limited to 'clfs/units/httpd.service')
-rw-r--r-- | clfs/units/httpd.service | 15 |
1 files changed, 15 insertions, 0 deletions
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 |