[tor/f15] systemd: start after network and nss-looup is up

ensc ensc at fedoraproject.org
Sun Sep 18 11:28:19 UTC 2011


commit 40ae0ec094f2489c4538d97af7f82968b8f58bee
Author: Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
Date:   Thu Jul 28 21:00:55 2011 +0200

    systemd: start after network and nss-looup is up

 tor.spec            |    5 ++++-
 tor.systemd.service |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/tor.spec b/tor.spec
index de194d4..0c1e5ad 100644
--- a/tor.spec
+++ b/tor.spec
@@ -14,7 +14,7 @@
 
 Name:		tor
 Version:	0.2.1.30
-Release:	%release_func 1501
+Release:	%release_func 1502
 Group:		System Environment/Daemons
 License:	BSD
 Summary:	Anonymizing overlay network for TCP (The onion router)
@@ -229,6 +229,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Sep 18 2011 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.2.1.30-1502
+- start systemd service after nss-lookup.target (#719476)
+
 * Thu Mar 17 2011 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.2.1.30-1501
 - made EnvironmentFile in systemd definition optional
 - systemd: added Requires: for core package; made it noarch
diff --git a/tor.systemd.service b/tor.systemd.service
index 9ae0c07..eb94a22 100644
--- a/tor.systemd.service
+++ b/tor.systemd.service
@@ -1,6 +1,6 @@
 [Unit]
 Description = Anonymizing overlay network for TCP
-After = syslog.target
+After = syslog.target network.target nss-lookup.target
 
 [Service]
 Environment = TOR_SHUTDOWN_WAIT=30


More information about the scm-commits mailing list