[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 <xichenlin@microsoft.com>

Co-authored-by: Xichen Lin <xichenlin@microsoft.com>
This commit is contained in:
Xichen96 2021-10-14 08:33:19 +08:00 committed by Qi Luo
parent 94456b1680
commit dfc4bc540e

View File

@ -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