[fix] typo and add ensure-symlinked wantedBy

This commit is contained in:
SouthFox 2024-11-15 00:21:00 +08:00
parent c3f40df266
commit d343fcda11

View file

@ -16,13 +16,13 @@
enable = true;
serviceConfig = {
Type = "notify-reload";
ExecStart = "/usr/bin/sshg -D";
ExecStart = "/usr/bin/sshd -D";
KillMode = "process";
Restart = "always";
};
wants = [ "sshdgenkeys.service" ];
after = [ "sshdgenkeys.service" "network.target" ];
wantedBy = [ "multi-user.target" ];
wantedBy = [ "ensure-symlinked-units-resolve.service" "system-manager.target" ];
};
zerotierone = {