diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2012-08-26 13:37:43 +0200 |
|---|---|---|
| committer | Hans de Goede <hdegoede@redhat.com> | 2012-08-26 13:37:43 +0200 |
| commit | 9574a9102a12d27a8ef78abf6570c4e09abc7816 (patch) | |
| tree | 289f37a65b631f09cb78c7d241b193f37908d184 /data/spice-vdagentd.service | |
| parent | bd6ecd76523b3b273c65c111a0262a94b2c4c368 (diff) | |
| download | vd_agent-9574a9102a12d27a8ef78abf6570c4e09abc7816.tar.gz vd_agent-9574a9102a12d27a8ef78abf6570c4e09abc7816.tar.xz vd_agent-9574a9102a12d27a8ef78abf6570c4e09abc7816.zip | |
Use hardware activation for systemd service
Make the systemd service trigger on the addition of
/dev/virtio-ports/com.redhat.spice.0
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'data/spice-vdagentd.service')
| -rw-r--r-- | data/spice-vdagentd.service | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/data/spice-vdagentd.service b/data/spice-vdagentd.service index d301fa0..4da7b44 100644 --- a/data/spice-vdagentd.service +++ b/data/spice-vdagentd.service @@ -5,9 +5,6 @@ After=dbus.target # TODO we should use: #Requires=spice-vdagentd.socket -# On systems without virtio spice channel, don't start -ConditionPathExists=/dev/virtio-ports/com.redhat.spice.0 - [Service] EnvironmentFile=-/etc/sysconfig/spice-vdagentd ExecStartPre=/bin/rm -f /var/run/spice-vdagentd/spice-vdagent-sock @@ -16,4 +13,4 @@ PIDFile=/var/run/spice-vdagentd/spice-vdagentd.pid PrivateTmp=true [Install] -WantedBy=multi-user.target +WantedBy=spice-vdagentd.target |
