Merge pull request #236471 from Mic92/mediawiki-fixes

mediawiki: fix group used when apache2 is used
This commit is contained in:
Martin Weinelt 2023-06-08 03:13:35 +02:00 committed by GitHub
commit 5715d6b452
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ let
cfg = config.services.mediawiki;
fpm = config.services.phpfpm.pools.mediawiki;
user = "mediawiki";
group = if cfg.webserver == "apache" then "apache" else "mediawiki";
group = if cfg.webserver == "apache" then config.services.httpd.group else "mediawiki";
cacheDir = "/var/cache/mediawiki";
stateDir = "/var/lib/mediawiki";