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>
This commit is contained in:
Yuan Liu 2018-06-30 09:24:53 +08:00 committed by lijinxia
parent a97593e7db
commit 21b9ba8a84
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ Description=CBC lifecycle service
[Service]
Type=simple
ExecStart=/usr/bin/cbc_lifecycle
Restart=always
Restart=no
ExecStop=/usr/bin/killall -s TERM cbc_lifecycle
[Install]