Try reducing scope of systemd services
This commit is contained in:
parent
0da75db7c8
commit
045d6763d0
1 changed files with 5 additions and 5 deletions
10
module.nix
10
module.nix
|
@ -172,11 +172,11 @@ in
|
||||||
ExecStart = lib.getExe config.services.matrix-ooye.package;
|
ExecStart = lib.getExe config.services.matrix-ooye.package;
|
||||||
WorkingDirectory = "/var/lib/matrix-ooye";
|
WorkingDirectory = "/var/lib/matrix-ooye";
|
||||||
StateDirectory = "matrix-ooye";
|
StateDirectory = "matrix-ooye";
|
||||||
ProtectSystem = "strict";
|
#ProtectSystem = "strict";
|
||||||
ProtectHome = true;
|
#ProtectHome = true;
|
||||||
PrivateTmp = true;
|
#PrivateTmp = true;
|
||||||
NoNewPrivileges = true;
|
#NoNewPrivileges = true;
|
||||||
PrivateDevices = true;
|
#PrivateDevices = true;
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue