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.
[Unit]
Description=ACRN manager deamon
+After=weston.service
+After=systemd-resolved.service
+ConditionPathExists=/sys/kernel/gvt
+ConditionPathExists=/dev/acrn_vhm
[Service]
Type=simple
ExecStart=/usr/bin/acrnd
+ExecStop=/usr/bin/killall -s TERM acrnd
[Install]
WantedBy=multi-user.target
