Merge pull request #102076 from Taneb/hoogle-dynamic-user
Set DynamicUser=true for hoogle
This commit is contained in:
commit
2526f22723
|
@ -61,10 +61,8 @@ in {
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
ExecStart = ''${hoogleEnv}/bin/hoogle server --local --port ${toString cfg.port} --home ${cfg.home}'';
|
ExecStart = ''${hoogleEnv}/bin/hoogle server --local --port ${toString cfg.port} --home ${cfg.home}'';
|
||||||
|
|
||||||
User = "nobody";
|
DynamicUser = true;
|
||||||
Group = "nogroup";
|
|
||||||
|
|
||||||
PrivateTmp = true;
|
|
||||||
ProtectHome = true;
|
ProtectHome = true;
|
||||||
|
|
||||||
RuntimeDirectory = "hoogle";
|
RuntimeDirectory = "hoogle";
|
||||||
|
|
Loading…
Reference in New Issue