From 848ea7d726dc497aaa7f4778bc53a43767dcd2be Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Sun, 12 Jul 2020 03:16:42 +0300 Subject: [PATCH] update systemd services After/Wants/Requires blocks --- SOURCES/kf2-srv-beta-update.service | 2 ++ SOURCES/kf2-srv-beta@.service | 2 ++ SOURCES/kf2-srv-update.service | 2 ++ SOURCES/kf2-srv@.service | 2 ++ 4 files changed, 8 insertions(+) diff --git a/SOURCES/kf2-srv-beta-update.service b/SOURCES/kf2-srv-beta-update.service index 99a61c1..8a043fb 100644 --- a/SOURCES/kf2-srv-beta-update.service +++ b/SOURCES/kf2-srv-beta-update.service @@ -1,5 +1,7 @@ [Unit] Description=Check and Update Killing Floor 2 server +After=network-online.target +Requires=network-online.target [Service] Type=oneshot diff --git a/SOURCES/kf2-srv-beta@.service b/SOURCES/kf2-srv-beta@.service index 240877f..f955823 100644 --- a/SOURCES/kf2-srv-beta@.service +++ b/SOURCES/kf2-srv-beta@.service @@ -1,5 +1,7 @@ [Unit] Description=Killing Floor 2 Beta Server Daemon - %i +After=network-online.target +Wants=network-online.target [Service] User=steam diff --git a/SOURCES/kf2-srv-update.service b/SOURCES/kf2-srv-update.service index bdf93c3..2c375eb 100644 --- a/SOURCES/kf2-srv-update.service +++ b/SOURCES/kf2-srv-update.service @@ -1,5 +1,7 @@ [Unit] Description=Check and Update Killing Floor 2 server +After=network-online.target +Requires=network-online.target [Service] Type=oneshot diff --git a/SOURCES/kf2-srv@.service b/SOURCES/kf2-srv@.service index 415d134..be7e73c 100644 --- a/SOURCES/kf2-srv@.service +++ b/SOURCES/kf2-srv@.service @@ -1,5 +1,7 @@ [Unit] Description=Killing Floor 2 Server Daemon - %i +After=network-online.target +Wants=network-online.target [Service] User=steam