nixpkgs/nixos/modules
Florian Brandes 5b6881f4a0 nixos/paperless-ngx: fix startup order
The nixOS test failed sporadically with a timeout.
This is due to a race condition in the startup  of
the scheduler vs the task-queue.

The scheduler runs the migration scripts in "pre-start" and
celery isn't available, yet. The celery worker (paperless-task-queue)
was already started by systemd but was unable to connect
(as the migration scripts from "pre-start" still ran).

This fix adds the necessary "after" condition in the systemd
worker unit and adds a test to "paperless"

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-01-02 15:21:45 +01:00
..
config nixos/environment: fix variables type 2022-12-27 21:09:10 -05:00
hardware Merge pull request #205648 from SuperSandro2000/hardware-opengl 2022-12-25 21:38:10 +01:00
i18n/input-method nixos/*: convert internal option descriptions to MD 2022-08-31 16:32:54 +02:00
installer Merge pull request #199425 from Mikilio/master 2023-01-01 11:15:03 +01:00
misc nixos/version: Only warn about unset stateVersion if used 2022-12-28 14:35:14 +01:00
profiles nixos/macos-builder: Remove unnecessary paragraph 2022-12-28 14:38:36 +01:00
programs Merge pull request #207738 from Mic92/nix-index 2022-12-27 10:39:05 +00:00
security nixos: fix typos 2022-12-17 19:31:14 -05:00
services nixos/paperless-ngx: fix startup order 2023-01-02 15:21:45 +01:00
system Merge pull request #208033 from ncfavier/systemd-boot-skip-regression 2022-12-30 20:45:56 +01:00
tasks nixos/bcachefs: fix boot with systemd enabled initrd 2023-01-01 19:58:16 +01:00
testing Merge pull request #207801 from ElvishJerricco/systemd-stage-1-test-instrumentation 2022-12-28 01:43:03 +01:00
virtualisation Revert "treewide: use nativeBuildInputs with runCommand instead of inlining" 2022-12-26 21:05:35 +03:00
module-list.nix Merge pull request #205636 from LoveIsGrief/webhook-module 2022-12-31 22:31:38 +01:00
rename.nix dd-agent: remove 2022-09-14 14:11:14 +02:00