Tweaking depency order in init configs

This commit is contained in:
fnux 2020-01-24 09:44:31 +01:00
parent 2d483078e6
commit 5f87c22ece
2 changed files with 5 additions and 2 deletions

View File

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

View File

@ -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