diff options
author | David Sutton | 2015-07-04 21:48:19 -0500 |
---|---|---|
committer | David Sutton | 2015-07-04 21:48:19 -0500 |
commit | 13da07df55f234b0f3b8ae8cdb03b753d8768b14 (patch) | |
tree | 02acdd00082d080db10476fdff9e9d7d073df02e /xendomains.service | |
download | aur-13da07df55f234b0f3b8ae8cdb03b753d8768b14.tar.gz |
Initial import
Diffstat (limited to 'xendomains.service')
-rw-r--r-- | xendomains.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/xendomains.service b/xendomains.service new file mode 100644 index 000000000000..d49bd5593e74 --- /dev/null +++ b/xendomains.service @@ -0,0 +1,15 @@ +[Unit] +Description=Xendomains - start and stop guests on boot and shutdown +Requires=proc-xen.mount xenstored.service +After=proc-xen.mount xenstored.service xenconsoled.service +ConditionPathExists=/proc/xen + +[Service] +Type=oneshot +RemainAfterExit=true +ExecStartPre=/usr/bin/grep -q control_d /proc/xen/capabilities +ExecStart=/etc/xen/scripts/xendomains start +ExecStop=/etc/xen/scripts/xendomains stop + +[Install] +WantedBy=multi-user.target |