summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2018-03-13 14:16:28 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2018-03-13 14:16:28 +0100
commit222aa7fef7fe8e14d7986245742aafa32d8e7bc7 (patch)
tree9fdb0b23c8cbe33d79ccf5eef08ca17e697d6f30
parent001de11bd240b8acae2acb6ee27fa950d2b4056b (diff)
static routes: SysVStartPriority no longer exists
-rw-r--r--roles/configure_static_routes/files/ffmyk-iproute.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/configure_static_routes/files/ffmyk-iproute.service b/roles/configure_static_routes/files/ffmyk-iproute.service
index 95bfe42..50016bd 100644
--- a/roles/configure_static_routes/files/ffmyk-iproute.service
+++ b/roles/configure_static_routes/files/ffmyk-iproute.service
@@ -1,6 +1,8 @@
[Unit]
Description=sets up ip rules and static routes
ConditionPathExists=/usr/local/bin/ffmyk-iproute.sh
+After=network-online.target
+Wants=network-online.target
[Service]
Type=forking
@@ -8,7 +10,6 @@ ExecStart=/usr/local/bin/ffmyk-iproute.sh
TimeoutSec=0
StandardOutput=tty
RemainAfterExit=yes
-SysVStartPriority=99
[Install]
WantedBy=multi-user.target