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
commit 2526f22723
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";