somehow with a python3 API, the conf_files process that kicks at boot-time
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 31 Dec 2018 10:50:30 +0000 (11:50 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 31 Dec 2018 10:50:30 +0000 (11:50 +0100)
starts way before the network is ready; so this change adds a systemd dependency
as an attempt to avoid that

systemd/conf_files.service

index 1eb106e..6ba4775 100644 (file)
@@ -1,6 +1,8 @@
 [Unit]
 Description=Fetch configuration files as defined by controlling MyPLC
 Before=lxc-sliceimage.service
+After=network-online.target
+Wants=network-online.target
 
 [Service]
 Type=oneshot