summarylogtreecommitdiffstats
path: root/ovirt-guest-agent.service
diff options
context:
space:
mode:
authorKonstantin Shalygin2015-06-08 19:53:54 +0600
committerKonstantin Shalygin2015-06-08 19:53:54 +0600
commit2cc0b33b543df451a8374dae183d59d807f0dd5c (patch)
tree619b756fc9ccfc92370493d966510d242432146f /ovirt-guest-agent.service
downloadaur-2cc0b33b543df451a8374dae183d59d807f0dd5c.tar.gz
Initial commit
Diffstat (limited to 'ovirt-guest-agent.service')
-rw-r--r--ovirt-guest-agent.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/ovirt-guest-agent.service b/ovirt-guest-agent.service
new file mode 100644
index 00000000000..3676992ca53
--- /dev/null
+++ b/ovirt-guest-agent.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=oVirt Guest Agent
+After=network.target
+
+[Service]
+Type=simple
+PIDFile=/tmp/ovirt-guest-agent.pid
+User=ovirtagent
+Group=ovirtagent
+ExecStartPre=/usr/bin/modprobe virtio_console
+ExecStart=/usr/bin/python2 /usr/share/ovirt-guest-agent/ovirt-guest-agent.py -p /tmp/ovirt-guest-agent.pid
+
+[Install]
+WantedBy=multi-user.target