Registration is now invite-only. Any user can make an invite, you need to create it here and give resulting link to someone to register.
avatar
keleg has added 3f84caac1e
add worked userspace spice-vdaget-client service for systemd start in...

... plasma

view file @ 3f84caac1e
... ... --- /dev/null
... ... +++ b/spice-vdagent-client.service
... ... @@ -0,0 +1,10 @@
1
[Unit]
2
Description=Spice vdagent client service
3
4
[Service]
5
ExecStartPre=sleep 5
6
ExecStart=/usr/bin/spice-vdagent
7
RemainAfterExit=yes
8
9
[Install]
10
WantedBy=default.target
view file @ 3f84caac1e
... ... --- a/spice-vdagent.spec
... ... +++ b/spice-vdagent.spec
... ... @@ -4,12 +4,13 @@
4 4
Summary:	Agent for Spice guests
5 5
Name:		spice-vdagent
6 6
Version:	0.22.1
7
Release:	5
7
Release:	6
8 8
#Release:	3.git%%{commit_short}.2
9 9
License:	GPLv3+
10 10
Group:		System/Kernel and hardware
11 11
Url:		http://spice-space.org/
12 12
Source0:	http://spice-space.org/download/releases/%{name}-%{version}.tar.bz2
13
Source1:	spice-vdagent-client.service
13 14
#Source0:	https://gitlab.freedesktop.org/spice/linux/vd_agent/-/archive/%%{commit}/vd_agent-%%{commit}.tar
14 15
BuildRequires:	spice-protocol
15 16
BuildRequires:	pkgconfig(alsa)
... ... @@ -55,16 +56,20 @@ Features:
56 56
# XXX It has no [Install] section, how should it be used?!
57 57
# https://gitlab.freedesktop.org/spice/linux/vd_agent/-/commit/3cd58713#note_1183230
58 58
%{_userunitdir}/spice-vdagent.service
59
%{_userunitdir}/%{name}-client.service
59 60
60 61
%post
61 62
%tmpfiles_create %{_tmpfilesdir}/spice-vdagentd.conf
62 63
%systemd_post spice-vdagentd.service spice-vdagentd.socket
64
%systemd_user_post %{name}-client.service
63 65
64 66
%preun
65 67
%systemd_preun spice-vdagentd.service spice-vdagentd.socket
68
%systemd_user_preun %{name}-client.service
66 69
67 70
%postun
68 71
%systemd_postun_with_restart spice-vdagentd.service
72
%systemd_user_postun %{name}-client.service
69 73
70 74
#----------------------------------------------------------------------------
71 75
... ... @@ -119,3 +124,5 @@ mkdir -p %{buildroot}%{_mandir}/man1
124 124
    sed "$i" -e 's,@PACKAGE_STRING@,%{name},g' > %{buildroot}%{_mandir}/man1/"$new_name"
125 125
  done
126 126
)
127
128
install -m644 %{SOURCE1} %{buildroot}%{_userunitdir}/%{name}-client.service
\ No newline at end of file

Comments