sourcehut: create logs directory unconditionally
An empty log directory, in case it stays unused, does not hurt anyone. Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
@@ -807,7 +807,7 @@ in
|
||||
"chown ${cfg.hg.user}:${cfg.hg.group} /var/log/sourcehut/hgsrht-keys"
|
||||
]);
|
||||
serviceConfig = {
|
||||
LogsDirectory = mkIf (cfg.git.enable || cfg.hg.enable) "sourcehut";
|
||||
LogsDirectory = "sourcehut";
|
||||
BindReadOnlyPaths =
|
||||
# Note that those /usr/bin/* paths are hardcoded in multiple places in *.sr.ht,
|
||||
# for instance to get the user from the [git.sr.ht::dispatch] settings.
|
||||
|
||||
Reference in New Issue
Block a user