tools: acrnd: bugfix: service lack of prerequisition
As a system service, acrnd will launch UOS, that must be done after all required services and conditions are ready, such as acrnprobe, weston, etc. Tracked-On: #1278 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
This commit is contained in:
parent
5affe53a9f
commit
270a833283
|
@ -1,9 +1,14 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=ACRN manager deamon
|
Description=ACRN manager deamon
|
||||||
|
After=weston.service
|
||||||
|
After=systemd-resolved.service
|
||||||
|
ConditionPathExists=/sys/kernel/gvt
|
||||||
|
ConditionPathExists=/dev/acrn_vhm
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/acrnd
|
ExecStart=/usr/bin/acrnd
|
||||||
|
ExecStop=/usr/bin/killall -s TERM acrnd
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue