Tweaking depency order in init configs
This commit is contained in:
parent
2d483078e6
commit
5f87c22ece
2 changed files with 5 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
name="$RC_SVCNAME"
|
||||
|
||||
depend() {
|
||||
use net logger
|
||||
use net logger rdnssd
|
||||
before sshd
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
[Unit]
|
||||
Description=Initialize an Uncloud virtual machine
|
||||
After=rdnssd.service
|
||||
Before=network.target
|
||||
Requires=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
@ -7,4 +10,4 @@ RemainAfterExit=yes
|
|||
ExecStart=/usr/local/bin/uncloud-init
|
||||
|
||||
[Install]
|
||||
WantedBy=network.target
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue