fix: fetch-public-ssh-keys service targets

multi-user.target is a general runlevel target, and it can be considered reached once the basic services are up. That means sometimes network is still not reachable.

Change-Id: I7312e05e12e978a96ee1bd3a74080d7f50523d80
Signed-off-by: Tadas Sutkaitis <tadasas@gmail.com>
This commit is contained in:
Tadas Sutkaitis
2025-09-16 16:01:16 +03:00
parent 3181d89123
commit 0b05f5dde9

View File

@@ -1,8 +1,10 @@
[Unit]
Description=Fetch Public Keys
After=network.target
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/fetch-public-ssh-keys.sh
[Install]