mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 05:29:20 +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" ];
|
after = [ "public-inbox-init.service" "public-inbox-watch.service" ];
|
||||||
requires = [ "public-inbox-init.service" ];
|
requires = [ "public-inbox-init.service" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
BindPathsReadOnly =
|
||||||
|
map (c: c.dir) (lib.attrValues cfg.settings.coderepo);
|
||||||
ExecStart = escapeShellArgs (
|
ExecStart = escapeShellArgs (
|
||||||
[ "${cfg.package}/bin/public-inbox-httpd" ] ++
|
[ "${cfg.package}/bin/public-inbox-httpd" ] ++
|
||||||
cfg.http.args ++
|
cfg.http.args ++
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue