[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; enable = true;
serviceConfig = { serviceConfig = {
Type = "notify-reload"; Type = "notify-reload";
ExecStart = "/usr/bin/sshg -D"; ExecStart = "/usr/bin/sshd -D";
KillMode = "process"; KillMode = "process";
Restart = "always"; Restart = "always";
}; };
wants = [ "sshdgenkeys.service" ]; wants = [ "sshdgenkeys.service" ];
after = [ "sshdgenkeys.service" "network.target" ]; after = [ "sshdgenkeys.service" "network.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "ensure-symlinked-units-resolve.service" "system-manager.target" ];
}; };
zerotierone = { zerotierone = {