Commit 6d4b7752 authored by Laurent Bigonville's avatar Laurent Bigonville

debian/patches/systemd_service_default_file.patch: Refreshed

parent b46c7b56
......@@ -4,24 +4,22 @@ Forwarded: not-needed
--- a/data/spice-vdagentd.service
+++ b/data/spice-vdagentd.service
@@ -1,13 +1,12 @@
@@ -1,11 +1,10 @@
[Unit]
Description=Agent daemon for Spice guests
-After=dbus.target
# TODO we should use:
#Requires=spice-vdagentd.socket
Requires=spice-vdagentd.socket
[Service]
Type=forking
-EnvironmentFile=-/etc/sysconfig/spice-vdagentd
+EnvironmentFile=-/etc/default/spice-vdagentd
ExecStartPre=/bin/rm -f /var/run/spice-vdagentd/spice-vdagent-sock
ExecStart=/usr/sbin/spice-vdagentd $SPICE_VDAGENTD_EXTRA_ARGS
PIDFile=/var/run/spice-vdagentd/spice-vdagentd.pid
PrivateTmp=true
--- a/data/spice-vdagentd.1.in
+++ b/data/spice-vdagentd.1.in
@@ -54,7 +54,7 @@
@@ -54,7 +54,7 @@ only one \fBspice-vdagent\fR is allowed
.SH FILES
The Sys-V initscript or systemd unit parses the following files:
.TP
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment