Fine-tuning network dependencies
This commit is contained in:
parent
7b0bdd16d0
commit
71379ef7df
3 changed files with 3 additions and 2 deletions
|
@ -121,6 +121,7 @@ wait_for_resolvconf () {
|
|||
sleep 1
|
||||
wait_for_resolvconf
|
||||
else
|
||||
sleep 1 # Wait for things to settle down.
|
||||
return
|
||||
fi
|
||||
else
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
name="$RC_SVCNAME"
|
||||
|
||||
depend() {
|
||||
use net logger
|
||||
use net logger rdnssd
|
||||
before sshd
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue