[httpd-itk] Add separate self own systemd service file and update instruction how to use it (bz#804349).

Pavel Alexeev hubbitus at fedoraproject.org
Sun Mar 18 16:39:19 UTC 2012


commit bd72247b43a03d0b909244fd37245abaefdd8447
Author: Pavel Alexeev (aka Pahan-Hubbitus) <pahan at hubbitus.info>
Date:   Sun Mar 18 20:39:07 2012 +0400

    Add separate self own systemd service file and update instruction how to use it (bz#804349).

 httpd-itk.service |   15 +++++++++++++++
 httpd-itk.spec    |    4 ++--
 2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/httpd-itk.service b/httpd-itk.service
new file mode 100644
index 0000000..c9c08d1
--- /dev/null
+++ b/httpd-itk.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=The Apache HTTP Server ITK MPM
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/httpd/httpd.pid
+EnvironmentFile=-/etc/sysconfig/httpd
+ExecStart=/usr/sbin/httpd.itk $OPTIONS -k start
+ExecReload=/usr/sbin/httpd.itk $OPTIONS -t
+ExecReload=/bin/kill -HUP $MAINPID
+ExecStop=/usr/sbin/httpd.itk $OPTIONS -k stop
+
+[Install]
+WantedBy=multi-user.target
diff --git a/httpd-itk.spec b/httpd-itk.spec
index e29f3da..8713036 100644
--- a/httpd-itk.spec
+++ b/httpd-itk.spec
@@ -4,7 +4,7 @@
 Summary:		MPM Itk for Apache HTTP Server
 Name:		httpd-itk
 Version:		2.2.22
-Release:		6%{?dist}
+Release:		7%{?dist}
 URL:			http://mpm-itk.sesse.net/
 License:		ASL 2.0
 Group:		System Environment/Daemons
@@ -162,7 +162,7 @@ rm -rf %{buildroot}
 %{_unitdir}/%{name}.service
 
 %changelog
-* Sun Mar 18 2012 Pavel Alexeev <Pahan at Hubbitus.info> - 2.2.22-6
+* Sun Mar 18 2012 Pavel Alexeev <Pahan at Hubbitus.info> - 2.2.22-7
 - Add separate self own systemd service file and update instruction how to use it (bz#804349).
 
 * Thu Mar 8 2012 Pavel Alexeev <Pahan at Hubbitus.info> - 2.2.22-5


More information about the scm-commits mailing list