syncthing: restrict service slightly
This commit is contained in:
parent
2b75633b2c
commit
d7e089699a
|
@ -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