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..0a5a6ee92
--- /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/bin/xe-daemon -p /run/xe-daemon.pid
+ExecStop=/usr/bin/pkill -TERM -F /run/xe-daemon.pid
+
+[Install]
+WantedBy=multi-user.target