[polipo] systemd unit file is strange (bz #872872)

Bernard Johnson bjohnson at fedoraproject.org
Sun Dec 2 19:38:59 UTC 2012


commit ec9a4c27a67150877d016992411fb3119e0f4eff
Author: Bernard Johnson <bjohnson at symetrix.com>
Date:   Sun Dec 2 11:49:16 2012 -0700

    systemd unit file is strange (bz #872872)

 polipo.service |    6 +++---
 polipo.spec    |    3 +++
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/polipo.service b/polipo.service
index 10a5925..200883f 100644
--- a/polipo.service
+++ b/polipo.service
@@ -1,14 +1,14 @@
 [Unit]
 Description=A caching web proxy
-After=syslog.target
+Documentation=man:polipo(1) http://localhost:8123/
 
 [Service]
-Type=oneshot
+Type=forking
 User=polipo
 Group=polipo
 EnvironmentFile=/etc/sysconfig/polipo
 ExecStart=/usr/bin/polipo -c $CONFIG
-RemainAfterExit=yes
+ExecReload=/usr/bin/kill -USR1 $MAINPID
 
 [Install]
 WantedBy=multi-user.target
diff --git a/polipo.spec b/polipo.spec
index e77d0de..86b52e2 100644
--- a/polipo.spec
+++ b/polipo.spec
@@ -194,6 +194,9 @@ fi
 %attr(0755,%{name},%{name}) %dir %{_localstatedir}/run/%{name}
 
 %changelog
+* Sun Dec 02 2012 Bernard Johnson <bjohnson at symetrix.com> - 1.0.4.1-9
+- systemd unit file is strange (bz #872872)
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.4.1-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list