From dfc4bc540eff7c6600e23fcda3c3cd7917c923dc Mon Sep 17 00:00:00 2001 From: Xichen96 Date: Thu, 14 Oct 2021 08:33:19 +0800 Subject: [PATCH] [determine-reboot-cause] delay execution (#8935) Since database.service has been moved to execute after rc-local.service, and determine-reboot-cause.service rely on database.service, we have to specify that in "After=". Signed-off-by: Xichen Lin Co-authored-by: Xichen Lin --- .../sonic-host-services-data.determine-reboot-cause.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sonic-host-services-data/debian/sonic-host-services-data.determine-reboot-cause.service b/src/sonic-host-services-data/debian/sonic-host-services-data.determine-reboot-cause.service index a6c58d4c98..f0d9e91fe9 100644 --- a/src/sonic-host-services-data/debian/sonic-host-services-data.determine-reboot-cause.service +++ b/src/sonic-host-services-data/debian/sonic-host-services-data.determine-reboot-cause.service @@ -1,7 +1,7 @@ [Unit] Description=Reboot cause determination service -Requires=rc-local.service -After=rc-local.service +Requires=rc-local.service database.service +After=rc-local.service database.service [Service] Type=simple