diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-11-19 20:08:39 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-11-19 20:08:39 -0200 |
commit | 66368e2767c6b888a7c06ad9f00ca36f5ac1d636 (patch) | |
tree | c7fbe15e3dc729e1bec52e0a4aa67b6b075a47e8 /kernels/xen/xendomains.service | |
parent | 37489d59c329d34f8ad6645e8595b43ff8aec998 (diff) |
xen-4.2.0-12: updating version
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 |