summarylogtreecommitdiffstats
path: root/xe-daemon.service
diff options
context:
space:
mode:
authorAntonio Rojas2017-07-06 19:07:52 +0000
committerAntonio Rojas2017-07-06 19:07:52 +0000
commitd5d0afda8d1351d4d7c905f61324a365b1a46475 (patch)
treebec6fc4fc10e7d10758a91737a56f965c58294bc /xe-daemon.service
downloadaur-d5d0afda8d1351d4d7c905f61324a365b1a46475.tar.gz
Drop from repos
Diffstat (limited to 'xe-daemon.service')
-rw-r--r--xe-daemon.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/xe-daemon.service b/xe-daemon.service
new file mode 100644
index 000000000000..0a5a6ee92610
--- /dev/null
+++ b/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