summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-02-16 16:51:38 +0100
committerSimon Rettberg2024-02-16 16:51:38 +0100
commit974ec340ea0178a23546a54b95675635b067164d (patch)
tree94fb9ab495758b3f580f3bc8dc6508bbf8950814
parent[vmware.*] Try to avoid chroot in addon-required check script (diff)
downloadmltk-974ec340ea0178a23546a54b95675635b067164d.tar.gz
mltk-974ec340ea0178a23546a54b95675635b067164d.tar.xz
mltk-974ec340ea0178a23546a54b95675635b067164d.zip
[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.
-rw-r--r--core/modules/dnbd3-proxy-mode/data/etc/systemd/system/dnbd3-local-stage4.service4
1 files changed, 3 insertions, 1 deletions
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