[Unit] Description=Xencommons - Script to start and stop xenstored and xenconsoled ConditionPathExists=/proc/xen [Service] Type=oneshot RemainAfterExit=true ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities ExecStart=-/etc/init.d/xencommons start ExecStop=/etc/init.d/xencommons stop [Install] WantedBy=multi-user.target