mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue