[Spice-devel] [vdagent-linux] systemd: Update path in unit file
Frediano Ziglio
fziglio at redhat.com
Tue Jan 15 15:34:16 UTC 2019
>
> From: Christian Hesse <mail at eworm.de>
>
> When loading the unit file, systemd 240 logs:
>
> systemd[1]: /usr/lib/systemd/system/spice-vdagentd.service:9: PIDFile=
> references path below legacy directory /var/run/, updating
> /var/run/spice-vdagentd/spice-vdagentd.pid →
> /run/spice-vdagentd/spice-vdagentd.pid; please update the unit file
> accordingly.
>
> So update the path.
>
> Signed-off-by: Christian Hesse <mail at eworm.de>
Acked-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> data/spice-vdagentd.service | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/data/spice-vdagentd.service b/data/spice-vdagentd.service
> index 365b2c1..9c70b30 100644
> --- a/data/spice-vdagentd.service
> +++ b/data/spice-vdagentd.service
> @@ -7,7 +7,7 @@ Requires=spice-vdagentd.socket
> Type=forking
> EnvironmentFile=-/etc/sysconfig/spice-vdagentd
> ExecStart=/usr/sbin/spice-vdagentd $SPICE_VDAGENTD_EXTRA_ARGS
> -PIDFile=/var/run/spice-vdagentd/spice-vdagentd.pid
> +PIDFile=/run/spice-vdagentd/spice-vdagentd.pid
> PrivateTmp=true
> Restart=on-failure
>
More information about the Spice-devel
mailing list