droppie: fix systemd wantedBy
without this, the systemd service does not start after a reboot add cloud.pub.solar host key to ssh knownHosts
This commit is contained in:
parent
2b3a1d827b
commit
d83e408e44
|
@ -26,6 +26,10 @@ in
|
|||
}
|
||||
];
|
||||
|
||||
services.openssh.knownHosts = {
|
||||
"cloud.pub.solar".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIABPJSwr9DfnqV0KoL23BcxlWtRxuOqQpnFnCv4SG/LW";
|
||||
};
|
||||
|
||||
systemd.user.services.ssh-tunnel-cloud-pub-solar = {
|
||||
unitConfig = {
|
||||
Description = "Reverse SSH connection to enable backups from IPv4-only to IPv6-only host";
|
||||
|
@ -37,7 +41,7 @@ in
|
|||
Restart = "always";
|
||||
RestartSec = "5s";
|
||||
};
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
wantedBy = [ "default.target" ];
|
||||
};
|
||||
|
||||
services.ddclient = {
|
||||
|
|
Loading…
Reference in a new issue