From e8bc547fdb5d7e461b3f4e45e28cdd686371df35 Mon Sep 17 00:00:00 2001 From: cytsao1 <111393130+cytsao1@users.noreply.github.com> Date: Sat, 12 Nov 2022 11:23:56 -0800 Subject: [PATCH] Make determine-reboot-cause.service into a oneshot service (#12628) --- .../sonic-host-services-data.determine-reboot-cause.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 50d79b3e7639..e834b9337331 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 @@ -4,7 +4,7 @@ Requires=rc-local.service database.service After=rc-local.service database.service [Service] -Type=simple +Type=oneshot RemainAfterExit=yes ExecStart=/usr/local/bin/determine-reboot-cause