File: systemd_service_default_file.patch

package info (click to toggle)
spice-vdagent 0.22.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,196 kB
  • sloc: ansic: 8,317; sh: 1,480; makefile: 191
file content (30 lines) | stat: -rw-r--r-- 972 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: Adjust the path to the default file
Author: Laurent Bigonville <bigon@debian.org>
Forwarded: not-needed

--- a/data/spice-vdagentd.service
+++ b/data/spice-vdagentd.service
@@ -1,11 +1,10 @@
 [Unit]
 Description=Agent daemon for Spice guests
-After=dbus.target
 Requires=spice-vdagentd.socket
 
 [Service]
 Type=forking
-EnvironmentFile=-/etc/sysconfig/spice-vdagentd
+EnvironmentFile=-/etc/default/spice-vdagentd
 ExecStart=/usr/sbin/spice-vdagentd $SPICE_VDAGENTD_EXTRA_ARGS
 PIDFile=/run/spice-vdagentd/spice-vdagentd.pid
 PrivateTmp=true
--- a/data/spice-vdagentd.1.in
+++ b/data/spice-vdagentd.1.in
@@ -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
-/etc/sysconfig/spice-vdagentd
+/etc/default/spice-vdagentd
 Default cmdline options can be passed to \fBspice-vdagentd\fR by setting
 them in the \fISPICE_VDAGENTD_EXTRA_ARGS\fR variable in this file
 .SH SEE ALSO