commit | 6fdacbdc3338e29f4df16b8e15cc7e849c999457 | [log] [tgz] |
---|---|---|
author | Edward Lee <edwarddl@google.com> | Wed Mar 15 16:48:49 2023 +0000 |
committer | Edward Lee <edwarddl@google.com> | Wed Mar 15 18:16:57 2023 +0000 |
tree | 53585892805ef15390e99aa1828a07f3e98a23ec | |
parent | 3cbb6ef689c77cd5dae4dc449a1db6eb75a2dbe8 [diff] |
Restart daemon on failure If the daemon crashes, then we lose the daemon's functionality. Restarting on failure would allow the daemon to still continue working. Tested: Locally on QEMU Change-Id: I8fadc45941a11e294f3928549d82a19cd5869c91 Signed-off-by: Edward Lee <edwarddl@google.com>
diff --git a/service_files/xyz.openbmc_project.bios_bmc_smm_error_logger.service.in b/service_files/xyz.openbmc_project.bios_bmc_smm_error_logger.service.in index 35c67dc..8a87a47 100644 --- a/service_files/xyz.openbmc_project.bios_bmc_smm_error_logger.service.in +++ b/service_files/xyz.openbmc_project.bios_bmc_smm_error_logger.service.in
@@ -4,6 +4,8 @@ [Service] Type=simple ExecStart=@BINDIR@/bios-bmc-smm-error-logger +Restart=always +RestartSec=5 [Install] WantedBy=multi-user.target