mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
syncthing: restrict service slightly
This commit is contained in:
parent
2b75633b2c
commit
d7e089699a
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,8 @@ with lib;
|
|||
Restart = "on-failure";
|
||||
SuccessExitStatus = [ 3 4 ];
|
||||
RestartForceExitStatus = [ 3 4 ];
|
||||
NoNewPrivileges = true;
|
||||
PrivateUsers = true;
|
||||
};
|
||||
|
||||
Install = { WantedBy = [ "default.target" ]; };
|
||||
|
|
Loading…
Reference in a new issue