From 974ec340ea0178a23546a54b95675635b067164d Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 16 Feb 2024 16:51:38 +0100 Subject: [dnbd3-proxy-mode] Make local-switch-service Type=simple This will not wait for the script to finish, like with oneshot, to consider the job done and thus the system being booted up fully. Because this really is a background job that isn't vital to the system's operation. --- .../data/etc/systemd/system/dnbd3-local-stage4.service | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/dnbd3-local-stage4.service b/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/dnbd3-local-stage4.service index 532f5c13..146a9ab7 100644 --- a/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/dnbd3-local-stage4.service +++ b/core/modules/dnbd3-proxy-mode/data/etc/systemd/system/dnbd3-local-stage4.service @@ -4,6 +4,8 @@ Requires=dnbd3-proxy.service After=dnbd3-proxy.service [Service] -Type=oneshot +; Do simple, otherwise it will delay system from being considered fully booted up +Type=simple ExecStart=/opt/openslx/scripts/systemd-dnbd3_local_stage4 RemainAfterExit=true +Restart=no -- cgit v1.2.3-55-g7522