diff options
| author | Joe Orton <jorton@redhat.com> | 2011-04-12 15:39:15 +0100 |
|---|---|---|
| committer | Joe Orton <jorton@redhat.com> | 2011-04-12 15:39:15 +0100 |
| commit | bd3365ed3ec3f117b8c344903c39e55df14aee48 (patch) | |
| tree | a70cdb860c6fc4c9c37cf8f77b6bc54c35538dd0 /httpd.service | |
| parent | e2ddae2555699b836d205e34aa13d5f72c3d40f4 (diff) | |
| download | httpd-bd3365ed3ec3f117b8c344903c39e55df14aee48.tar.gz httpd-bd3365ed3ec3f117b8c344903c39e55df14aee48.tar.xz httpd-bd3365ed3ec3f117b8c344903c39e55df14aee48.zip | |
add systemd service files (#684175, thanks to Jóhann B. Guðmundsson)
Diffstat (limited to 'httpd.service')
| -rw-r--r-- | httpd.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/httpd.service b/httpd.service new file mode 100644 index 0000000..35e662c --- /dev/null +++ b/httpd.service @@ -0,0 +1,15 @@ +[Unit] +Description=The Apache HTTP Server (@NAME@ MPM) +After=syslog.target network.target + +[Service] +Type=forking +PIDFile=/var/run/httpd/httpd.pid +EnvironmentFile=/etc/sysconfig/httpd +ExecStart=@EXEC@ $OPTIONS -k start +ExecReload=@EXEC@ $OPTIONS -t +ExecReload=/bin/kill -HUP $MAINPID +ExecStop=@EXEC@ $OPTIONS -k stop + +[Install] +WantedBy=multi-user.target |
