From 0cfab22888d43f1cf9c9466761e643a8bac431de Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Thu, 11 Jan 2024 09:45:23 +0100 Subject: [PATCH] behave: Update OBS container to start obsservice and obs-delayedjob-queue-default --- behave/container-setup.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/behave/container-setup.sh b/behave/container-setup.sh index 1b7d5d9f..b51320c5 100644 --- a/behave/container-setup.sh +++ b/behave/container-setup.sh @@ -123,7 +123,7 @@ systemctl enable obsrepserver #systemctl enable obsdispatcher #systemctl enable obspublisher #systemctl enable obsscheduler -#systemctl enable obsservice +systemctl enable obsservice #systemctl enable obssignd #systemctl enable obssigner #systemctl enable obswarden @@ -131,5 +131,11 @@ systemctl enable obsrepserver #systemctl enable obsdeltastore #systemctl enable obsservicedispatch +# modify WantedBy target, otherwise the service won't start even if it is enabled +sed -i 's@^WantedBy *=.*@WantedBy = default.target@' /usr/lib/systemd/system/obs-delayedjob-queue-default.service + +# needed (not only) for generating diffs in requests +systemctl enable obs-delayedjob-queue-default + # OBS worker # systemctl enable obsworker