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:
@@ -1,8 +1,10 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Fetch Public Keys
|
Description=Fetch Public Keys
|
||||||
After=network.target
|
After=network-online.target
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
ExecStart=/usr/local/sbin/fetch-public-ssh-keys.sh
|
ExecStart=/usr/local/sbin/fetch-public-ssh-keys.sh
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Reference in New Issue
Block a user