nix: update module for compatibility with new celery
This commit is contained in:
parent
56da9dcdb3
commit
43986f541a
1 changed files with 2 additions and 2 deletions
|
@ -425,7 +425,7 @@ in
|
|||
|
||||
script = ''
|
||||
${lib.concatStringsSep "\n" (lib.mapAttrsToList (n: v: ''export ${n}="$(cat ${escapeShellArg v})"'') envSecrets)}
|
||||
exec ${bookwyrm}/bin/celery worker -A celerywyrm --loglevel=INFO -Q high_priority,medium_priority,low_priority
|
||||
exec ${bookwyrm}/bin/celery -A celerywyrm worker --loglevel=INFO -Q high_priority,medium_priority,low_priority
|
||||
'';
|
||||
|
||||
};
|
||||
|
@ -453,7 +453,7 @@ in
|
|||
|
||||
script = ''
|
||||
${lib.concatStringsSep "\n" (lib.mapAttrsToList (n: v: ''export ${n}="$(cat ${escapeShellArg v})"'') envSecrets)}
|
||||
exec ${bookwyrm}/bin/flower -A celerywyrm \
|
||||
exec ${bookwyrm}/bin/celery -A celerywyrm flower \
|
||||
${lib.concatStringsSep " " cfg.flowerArgs}
|
||||
'';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue