2
0
Fork 0

nix: update module for compatibility with new celery

This commit is contained in:
D Anzorge 2022-01-18 02:49:51 +01:00
parent 56da9dcdb3
commit 43986f541a

View file

@ -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}
'';