Commit Graph

3 Commits

Author SHA1 Message Date
Ben Hutchings 6d1b6b2dc8 [x86] hyperv-daemons: Create pid files under /run, not /var/run 2017-09-30 13:50:34 +01:00
Ben Hutchings 51100af154 [x86] hyperv-daemons: Use pid file name in init script status operation
While we're here, also drop the unnecessary commands to replicate the
exit code.
2017-09-30 13:29:07 +01:00
Ben Hutchings 0bd35d792a hyperv-daemons: Add init scripts
Also add a helper executable that implements the check for Hyper-V
(like ConditionVirtualization=microsoft in the systemd units).

(cherry picked from commit 50747480c882dae7d3c8f7b4d0df5cf3276c4ee5)
2016-02-21 15:03:47 +00:00