summaryrefslogtreecommitdiff
path: root/community/xe-guest-utilities/xe-daemon.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/xe-guest-utilities/xe-daemon.service')
-rw-r--r--community/xe-guest-utilities/xe-daemon.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/xe-guest-utilities/xe-daemon.service b/community/xe-guest-utilities/xe-daemon.service
new file mode 100644
index 000000000..5245c702d
--- /dev/null
+++ b/community/xe-guest-utilities/xe-daemon.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=xen daemon file
+After=xe-linux-distribution.service
+Requires=proc-xen.mount
+
+[Service]
+PIDFile=/run/xe-daemon.pid
+ExecStart=/usr/sbin/xe-daemon -p /run/xe-daemon.pid
+ExecStop=/bin/pkill -TERM -F /run/xe-daemon.pid
+
+[Install]
+WantedBy=multi-user.target