[PATCH 4/4] Run after network-online.target, instead of network.target

Aron Xu aron at debian.org
Sat Jan 24 00:25:41 PST 2015


Signed-off-by: Aron Xu <aron at debian.org>
---
 doc/systemd/socket-activated/ocserv.service | 2 +-
 doc/systemd/standalone/ocserv.service       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/systemd/socket-activated/ocserv.service b/doc/systemd/socket-activated/ocserv.service
index 796e496..71f53ee 100644
--- a/doc/systemd/socket-activated/ocserv.service
+++ b/doc/systemd/socket-activated/ocserv.service
@@ -1,7 +1,7 @@
 [Unit]
 Description=OpenConnect SSL VPN server
 Documentation=man:ocserv(8)
-After=network.target
+After=network-online.target
 Requires=ocserv.socket
 
 [Service]
diff --git a/doc/systemd/standalone/ocserv.service b/doc/systemd/standalone/ocserv.service
index 841c935..4d497b7 100644
--- a/doc/systemd/standalone/ocserv.service
+++ b/doc/systemd/standalone/ocserv.service
@@ -1,7 +1,7 @@
 [Unit]
 Description=OpenConnect SSL VPN server
 Documentation=man:ocserv(8)
-After=network.target
+After=network-online.target
 After=dbus.service
 
 [Service]
-- 
2.1.4




More information about the openconnect-devel mailing list