diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-26 23:52:26 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-26 23:52:26 -0500 |
commit | 360e56ec622617a2b121c7ec51e3381ad89f0eab (patch) | |
tree | e74250415c5e21080779befbb7898bd151039d63 /kernels/xen/xendomains.service | |
parent | 34b4025bc7b0c6d8d47988decd140df38b1d98ac (diff) | |
parent | b1c14cd929ca53e06945a5cda3965dc6fcd9d6b7 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'kernels/xen/xendomains.service')
-rw-r--r-- | kernels/xen/xendomains.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kernels/xen/xendomains.service b/kernels/xen/xendomains.service new file mode 100644 index 000000000..d49bd5593 --- /dev/null +++ b/kernels/xen/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 |