summaryrefslogtreecommitdiff
path: root/debian/xe-guest-utilities.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/xe-guest-utilities.service')
-rw-r--r--debian/xe-guest-utilities.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/xe-guest-utilities.service b/debian/xe-guest-utilities.service
new file mode 100644
index 0000000..8fd501a
--- /dev/null
+++ b/debian/xe-guest-utilities.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Xen Guest Monitoring Agent
+DefaultDependencies=no
+After=local-fs.target
+Requires=proc-xen.mount
+Before=network.target cloud-init.service cloud-init-local.service
+ConditionVirtualization=xen
+ConditionPathExists=/proc/xen/capabilities
+
+[Service]
+ExecStartPre=/usr/sbin/xe-linux-distribution /var/cache/xe-linux-distribution
+ExecStart=/usr/sbin/xe-daemon
+StandardOutput=journal+console
+
+[Install]
+WantedBy=multi-user.target