From 109020c8e0cb7cbeebc0af5ae3290980ab4da055 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 50d79b3e76..e834b93373 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