File: systemd_service_default_file.patch

package info (click to toggle)
spice-vdagent 0.22.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,448 kB
  • sloc: ansic: 8,323; sh: 1,480; makefile: 198
file content (36 lines) | stat: -rw-r--r-- 1,254 bytes parent folder | download
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
31
32
33
34
35
36
From: Laurent Bigonville <bigon@debian.org>
Date: Wed, 27 Aug 2025 02:09:33 +0200
Subject: Adjust the path to the default file

Forwarded: not-needed
---
 data/spice-vdagentd.1.in    | 2 +-
 data/spice-vdagentd.service | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/spice-vdagentd.1.in b/data/spice-vdagentd.1.in
index 7a00ff1..d794a61 100644
--- 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
diff --git a/data/spice-vdagentd.service b/data/spice-vdagentd.service
index 9c70b30..be54546 100644
--- a/data/spice-vdagentd.service
+++ b/data/spice-vdagentd.service
@@ -5,7 +5,7 @@ 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