diff --git a/install.sh b/install.sh index d58444c..8a41287 100755 --- a/install.sh +++ b/install.sh @@ -265,6 +265,8 @@ install_data misc_etc_files/request-key.d/id_resolver.conf \ "$DESTDIR$sysconfdir/request-key.d/id_resolver.conf" install_symlink /etc/local/access.conf "$DESTDIR$sysconfdir/security/access.conf" install_data misc_etc_files/cups/client.conf "$DESTDIR$sysconfdir/cups/client.conf" +install_data misc_etc_files/systemd/system/basic.target.d/want-network.conf \ + "$DESTDIR$sysconfdir/systemd/system/basic.target.d/want-network.conf" postinstall exit diff --git a/misc_etc_files/systemd/system/basic.target.d/want-network.conf b/misc_etc_files/systemd/system/basic.target.d/want-network.conf new file mode 100644 index 0000000..a66db22 --- /dev/null +++ b/misc_etc_files/systemd/system/basic.target.d/want-network.conf @@ -0,0 +1,4 @@ +[Unit] + +Wants=network.target +After=network-online.target diff --git a/misc_systemd_units/ip6.service b/misc_systemd_units/ip6.service index 775eaba..37ee473 100644 --- a/misc_systemd_units/ip6.service +++ b/misc_systemd_units/ip6.service @@ -1,5 +1,7 @@ [Unit] +DefaultDependencies=no + Wants=startup-tags.service After=startup-tags.service ConditionPathExists=/node/tags/ip6 diff --git a/misc_systemd_units/mxvlan.service b/misc_systemd_units/mxvlan.service index 5459a4c..78b7f57 100644 --- a/misc_systemd_units/mxvlan.service +++ b/misc_systemd_units/mxvlan.service @@ -1,5 +1,7 @@ [Unit] +DefaultDependencies=no + Wants=network.service After=network.service Before=network.target