Nix module: fix umask in gunicorn invocation
This commit is contained in:
parent
10895f6fea
commit
707bc1b5ba
1 changed files with 2 additions and 2 deletions
|
@ -396,8 +396,8 @@ in
|
||||||
script = ''
|
script = ''
|
||||||
${concatStringsSep "\n" (mapAttrsToList (n: v: ''export ${n}="$(cat '${v}')"'') envSecrets)}
|
${concatStringsSep "\n" (mapAttrsToList (n: v: ''export ${n}="$(cat '${v}')"'') envSecrets)}
|
||||||
exec ${bookwyrm}/bin/gunicorn bookwyrm.wsgi:application \
|
exec ${bookwyrm}/bin/gunicorn bookwyrm.wsgi:application \
|
||||||
${concatStringsSep " " (map (elem: "--bind ${elem}") cfg.bindTo)}
|
${concatStringsSep " " (map (elem: "--bind ${elem}") cfg.bindTo)} \
|
||||||
--umask 0660
|
--umask 0007
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue