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 sleep 1
wait_for_resolvconf wait_for_resolvconf
else else
sleep 1 # Wait for things to settle down.
return return
fi fi
else else

View File

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

View File

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