summarylogtreecommitdiffstats
path: root/ovirt-guest-agent.service
diff options
context:
space:
mode:
Diffstat (limited to 'ovirt-guest-agent.service')
-rw-r--r--ovirt-guest-agent.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/ovirt-guest-agent.service b/ovirt-guest-agent.service
index 3676992ca53a..61acc6958ed7 100644
--- a/ovirt-guest-agent.service
+++ b/ovirt-guest-agent.service
@@ -4,11 +4,11 @@ After=network.target
[Service]
Type=simple
-PIDFile=/tmp/ovirt-guest-agent.pid
+PIDFile=/run/ovirtagent/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
+ExecStart=/usr/bin/python2 /usr/share/ovirt-guest-agent/ovirt-guest-agent.py -p /run/ovirtagent/ovirt-guest-agent.pid
[Install]
WantedBy=multi-user.target