Skip to content

Commit 21b9ba8

Browse files
yliu80lijinxia
authored andcommitted
misc: disable cbc_lifecycle service always restart by systemd
Due to cbc_lifecycle service already has its own retry mechanism,so change the Restart type to "no". This change is also indirectly avoid cbc_lifecycle always restart for the non-IOC boards. Actually, there has one defect for current IOC CBC architecture due to lack IOC hardware detection mechanism. The related guys are already aware it and WIP. Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Reviewed-by: Alex Du <alek.du@intel.com> Reviewed-by: Yu Wang <yu1.wang@intel.com>
1 parent a97593e commit 21b9ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/cbc_lifecycle/cbc_lifecycle.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Description=CBC lifecycle service
44
[Service]
55
Type=simple
66
ExecStart=/usr/bin/cbc_lifecycle
7-
Restart=always
7+
Restart=no
88
ExecStop=/usr/bin/killall -s TERM cbc_lifecycle
99

1010
[Install]

0 commit comments

Comments
 (0)