diff options
Diffstat (limited to 'meta-bytedance/meta-g220a/recipes-phosphor/datetime/me-time-sync/me-time-sync.service')
-rw-r--r-- | meta-bytedance/meta-g220a/recipes-phosphor/datetime/me-time-sync/me-time-sync.service | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta-bytedance/meta-g220a/recipes-phosphor/datetime/me-time-sync/me-time-sync.service b/meta-bytedance/meta-g220a/recipes-phosphor/datetime/me-time-sync/me-time-sync.service index e0ee717c5..703bc3533 100644 --- a/meta-bytedance/meta-g220a/recipes-phosphor/datetime/me-time-sync/me-time-sync.service +++ b/meta-bytedance/meta-g220a/recipes-phosphor/datetime/me-time-sync/me-time-sync.service @@ -3,9 +3,16 @@ Description=Sync time from ME Wants=ipmb.service After=ipmb.service +#ipmb may not ready for communication when +#me-time-sync start, add some retry [Service] -Type=oneshot +Type=simple +Restart=always +StartLimitInterval=90 +StartLimitBurst=5 ExecStart=/usr/bin/me-time-sync.sh +RemainAfterExit=yes + [Install] WantedBy=multi-user.target |