From 8089bb93f37a3cab161dc78d9732a2859269ad4a Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Mon, 31 Jul 2023 12:12:53 -0700 Subject: [PATCH] Launch python client services only after network-online target (#1197) --- python/ctrlboard/service-infra/piscsi-ctrlboard.service | 2 +- python/oled/service-infra/piscsi-oled.service | 2 +- python/web/service-infra/piscsi-web.service | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/ctrlboard/service-infra/piscsi-ctrlboard.service b/python/ctrlboard/service-infra/piscsi-ctrlboard.service index 3eb9de72..0c336d40 100644 --- a/python/ctrlboard/service-infra/piscsi-ctrlboard.service +++ b/python/ctrlboard/service-infra/piscsi-ctrlboard.service @@ -1,6 +1,6 @@ [Unit] Description=PiSCSI Control Board service -After=network.target piscsi.service +After=network-online.target piscsi.service [Service] Type=simple diff --git a/python/oled/service-infra/piscsi-oled.service b/python/oled/service-infra/piscsi-oled.service index a339e6a2..9be68433 100644 --- a/python/oled/service-infra/piscsi-oled.service +++ b/python/oled/service-infra/piscsi-oled.service @@ -1,6 +1,6 @@ [Unit] Description=PiSCSI-OLED Monitor service -After=network.target piscsi.service +After=network-online.target piscsi.service [Service] Type=simple diff --git a/python/web/service-infra/piscsi-web.service b/python/web/service-infra/piscsi-web.service index cf7c8b85..3f4d7ed4 100644 --- a/python/web/service-infra/piscsi-web.service +++ b/python/web/service-infra/piscsi-web.service @@ -1,6 +1,6 @@ [Unit] Description=PiSCSI-Web service -After=network.target +After=network-online.target piscsi.service [Service] Type=simple