X-Git-Url: http://git.onelab.eu/?p=nodemanager.git;a=blobdiff_plain;f=systemd%2Fconf_files.service;fp=systemd%2Fconf_files.service;h=6ba47755f3a73ac8551539d017e32a1c2ff9fd1c;hp=5d367008e81c59c20711184c303f0a98d41fc117;hb=fa29e713dc640e0370446efa9fda7cb3174cec06;hpb=99231ebd630f5313a02eccb94c472c3005af07d3 diff --git a/systemd/conf_files.service b/systemd/conf_files.service index 5d36700..6ba4775 100644 --- a/systemd/conf_files.service +++ b/systemd/conf_files.service @@ -1,10 +1,12 @@ [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 -ExecStart=/usr/bin/env python /usr/share/NodeManager/conf_files.py +ExecStart=/usr/bin/env python3 /usr/share/NodeManager/conf_files.py [Install] WantedBy=multi-user.target