1
0
Fork 0
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:
Robert Helgesson 2021-07-19 22:41:51 +02:00
parent 2b75633b2c
commit d7e089699a
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -61,6 +61,8 @@ with lib;
Restart = "on-failure";
SuccessExitStatus = [ 3 4 ];
RestartForceExitStatus = [ 3 4 ];
NoNewPrivileges = true;
PrivateUsers = true;
};
Install = { WantedBy = [ "default.target" ]; };