Fine-tuning network dependencies

This commit is contained in:
fnux 2020-01-24 12:40:09 +01:00
parent 7b0bdd16d0
commit 71379ef7df
3 changed files with 3 additions and 2 deletions

View File

@ -121,6 +121,7 @@ wait_for_resolvconf () {
sleep 1
wait_for_resolvconf
else
sleep 1 # Wait for things to settle down.
return
fi
else

View File

@ -6,7 +6,7 @@
name="$RC_SVCNAME"
depend() {
use net logger
use net logger rdnssd
before sshd
}

View File

@ -1,7 +1,7 @@
[Unit]
Description=Initialize an Uncloud virtual machine
Requires=rdnssd.service,network.target
Before=network.target
Requires=network.target
[Service]
Type=oneshot