diff options
Diffstat (limited to 'httpd.service')
-rw-r--r-- | httpd.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/httpd.service b/httpd.service new file mode 100644 index 0000000..fda59d2 --- /dev/null +++ b/httpd.service @@ -0,0 +1,16 @@ +[Unit] +Description=The Apache HTTP Server +After=syslog.target network.target remote-fs.target nss-lookup.target + +[Service] +Type=forking +PIDFile=/var/run/httpd/httpd.pid +EnvironmentFile=/etc/sysconfig/httpd +ExecStart=/usr/sbin/httpd $OPTIONS +ExecReload=/usr/sbin/httpd $OPTIONS -t +ExecReload=/usr/sbin/httpd -HUP $MAINPID +ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop +PrivateTmp=true + +[Install] +WantedBy=multi-user.target |