mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
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:
parent
fc6addb147
commit
641e54bb28
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user