1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-18 12:38:30 +02: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" ]; };