Skip to content

Commit b7bfe15

Browse files
juaddeshibumi
authored andcommitted
Fix reflector-init systemd service
1 parent 65565fb commit b7bfe15

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

http/install-common.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ EOF
6161
cat <<EOF >/etc/systemd/system/reflector-init.service
6262
[Unit]
6363
Description=Initializes mirrors for the VM
64-
After=network.target
65-
Wants=network.target
64+
After=network-online.target
65+
Wants=network-online.target
66+
Before=sshd.service
6667
ConditionFirstBoot=yes
6768
6869
[Service]

0 commit comments

Comments
 (0)