nixos/autossh: replace deprecated usage of PermissionsStartOnly
see https://github.com/NixOS/nixpkgs/issues/53852
This commit is contained in:
@@ -99,7 +99,6 @@ in
|
|||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = "${s.user}";
|
User = "${s.user}";
|
||||||
PermissionsStartOnly = true;
|
|
||||||
# AutoSSH may exit with 0 code if the SSH session was
|
# AutoSSH may exit with 0 code if the SSH session was
|
||||||
# gracefully terminated by either local or remote side.
|
# gracefully terminated by either local or remote side.
|
||||||
Restart = "on-success";
|
Restart = "on-success";
|
||||||
|
|||||||
Reference in New Issue
Block a user