From 5cf0bbc6beef9453f5eaf3d83ad4601d415188d7 Mon Sep 17 00:00:00 2001 From: digimer Date: Sat, 24 Feb 2024 16:51:33 -0500 Subject: [PATCH] Added Want=NetworkManager to anvil-daemon and scancore unit files. Signed-off-by: digimer --- tools/anvil-daemon | 1 - units/anvil-daemon.service | 1 + units/scancore.service | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/anvil-daemon b/tools/anvil-daemon index ab3eb610..ecea2e92 100755 --- a/tools/anvil-daemon +++ b/tools/anvil-daemon @@ -78,7 +78,6 @@ $anvil->Network->wait_for_bonds({debug => 2}); $anvil->Database->connect({ check_if_configured => 1, check_for_resync => 2, - debug => 2, }); $anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 1, key => "log_0132"}); diff --git a/units/anvil-daemon.service b/units/anvil-daemon.service index 889ca9cb..ad677cba 100644 --- a/units/anvil-daemon.service +++ b/units/anvil-daemon.service @@ -1,6 +1,7 @@ [Unit] Description=Anvil! Intelligent Availability Platform - main service daemon Wants=network.target +After=NetworkManager.service [Service] Type=simple diff --git a/units/scancore.service b/units/scancore.service index c9965798..abce41b8 100644 --- a/units/scancore.service +++ b/units/scancore.service @@ -1,6 +1,7 @@ [Unit] Description=Anvil! Intelligent Availability Platform - ScanCore Decision Engine Wants=network.target +After=NetworkManager.service [Service] Type=simple