(Wants is necessary because network-pre.target is a passive target)
(Before=network.target can be removed)
And then network management software needs to have After=network-pre.target. systemd-networkd and NetworkManager are fine, but I do not know about legacy stuff like ifupdown.
BTW, why DefaultDependencies=no is being set?
network-pre.target is systemd 214+. Since Debian Jessie has 215, it is probably safe use it.
You need
Before= network- pre.target pre.target
Wants=network-
(Wants is necessary because network-pre.target is a passive target) network. target can be removed)
(Before=
And then network management software needs to have After=network- pre.target. systemd-networkd and NetworkManager are fine, but I do not know about legacy stuff like ifupdown.
BTW, why DefaultDependen cies=no is being set?
network-pre.target is systemd 214+. Since Debian Jessie has 215, it is probably safe use it.