Merge pull request #102076 from Taneb/hoogle-dynamic-user

Set DynamicUser=true for hoogle
This commit is contained in:
Silvan Mosberger
2020-12-02 12:58:10 +01:00
committed by GitHub

View File

@@ -61,10 +61,8 @@ in {
Restart = "always";
ExecStart = ''${hoogleEnv}/bin/hoogle server --local --port ${toString cfg.port} --home ${cfg.home}'';
User = "nobody";
Group = "nogroup";
DynamicUser = true;
PrivateTmp = true;
ProtectHome = true;
RuntimeDirectory = "hoogle";