acrn-hypervisor/misc/cbc_lifecycle/cbc_lifecycle.service
Yuan Liu 21b9ba8a84 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>
2018-07-02 15:25:12 +08:00

12 lines
194 B
Desktop File

[Unit]
Description=CBC lifecycle service
[Service]
Type=simple
ExecStart=/usr/bin/cbc_lifecycle
Restart=no
ExecStop=/usr/bin/killall -s TERM cbc_lifecycle
[Install]
WantedBy=multi-user.target