mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 21:25:30 +03:00
nixos/public-inbox: make coderepo paths accessible
This commit is contained in:
parent
68c68f39db
commit
03216e705c
1 changed files with 2 additions and 0 deletions
|
@ -460,6 +460,8 @@ in
|
|||
after = [ "public-inbox-init.service" "public-inbox-watch.service" ];
|
||||
requires = [ "public-inbox-init.service" ];
|
||||
serviceConfig = {
|
||||
BindPathsReadOnly =
|
||||
map (c: c.dir) (lib.attrValues cfg.settings.coderepo);
|
||||
ExecStart = escapeShellArgs (
|
||||
[ "${cfg.package}/bin/public-inbox-httpd" ] ++
|
||||
cfg.http.args ++
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue