mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-07 09:41:30 +00:00
add cbc_lifecycle service systemd support
Now cbc_attach service installed by default and thus we can enable cbc_lifecycle service too. Signed-off-by: Alek Du <alek.du@intel.com> Reviewed-by: Yu Wang <yu1.wang@intel.com>
This commit is contained in:
12
misc/cbc_lifecycle/cbc_lifecycle.service
Normal file
12
misc/cbc_lifecycle/cbc_lifecycle.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=CBC lifecycle service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/cbc_lifecycle
|
||||
Restart=always
|
||||
Type=notify
|
||||
ExecStop=/usr/bin/killall -s TERM cbc_lifecycle
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user