diff options
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 |