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
|
sleep 1
|
||||||
wait_for_resolvconf
|
wait_for_resolvconf
|
||||||
else
|
else
|
||||||
|
sleep 1 # Wait for things to settle down.
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
name="$RC_SVCNAME"
|
name="$RC_SVCNAME"
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
use net logger
|
use net logger rdnssd
|
||||||
before sshd
|
before sshd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue