[tor] added systemd rule in the postrotate script
ensc
ensc at fedoraproject.org
Sat Dec 17 12:01:48 UTC 2011
commit ba4e330292c69918229221e3d41f3f9907e53ded
Author: Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
Date: Sat Dec 17 12:58:47 2011 +0100
added systemd rule in the postrotate script
tor.logrotate | 1 +
tor.spec | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tor.logrotate b/tor.logrotate
index eaf313a..3677b2c 100644
--- a/tor.logrotate
+++ b/tor.logrotate
@@ -8,5 +8,6 @@
test ! -f /etc/init.d/tor || /etc/init.d/tor reload >/dev/null 2>/dev/null || :
test ! -f /etc/initng/daemon/tor.i || /sbin/ngc --restart daemon/tor >/dev/null 2>/dev/null || :
test ! -d /etc/minit/services/tor || /bin/msvc -h services/tor >/dev/null 2>/dev/null || :
+ test ! -f /lib/systemd/system/tor.service || /bin/systemctl reload tor.service >/dev/null 2>/dev/null || :
endscript
}
diff --git a/tor.spec b/tor.spec
index 3e67d52..cd53b22 100644
--- a/tor.spec
+++ b/tor.spec
@@ -249,6 +249,7 @@ rm -rf $RPM_BUILD_ROOT
- fixed systemd unit file; customization of TimeoutSec + LimitNOFILE is
not possible by environment variables. Hardcode some values which can
be overridden by the systemd .include method (#755167).
+- added systemd rule in the postrotate script
* Sat Dec 17 2011 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.2.2.35-1700
- updated to 0.2.2.35 (security)
More information about the scm-commits
mailing list