forked from pool/syncthing
Accepting request 921485 from network
OBS-URL: https://build.opensuse.org/request/show/921485 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/syncthing?expand=0&rev=112
This commit is contained in:
commit
5540f29e58
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 26 08:51:40 UTC 2021 - Fusion Future <qydwhotmail@gmail.com>
|
||||
|
||||
- Use /var/lib/syncthing-relaysrv in strelaysrv.service (boo#1190877).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 7 12:24:57 UTC 2021 - Marius Kittler <marius.kittler@suse.com>
|
||||
|
||||
|
@ -74,7 +74,7 @@ cd ../src/github.com/syncthing/%{name}
|
||||
mv LICENSE AUTHORS CONDUCT.md CONTRIBUTING.md README.md "$st_dir"
|
||||
install -Dpm 0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
||||
install -Dpm 0755 bin/strelaysrv %{buildroot}%{_bindir}/strelaysrv
|
||||
install -dm 0750 %{buildroot}/%{_localstatedir}/lib/strelaysrv
|
||||
install -dm 0750 %{buildroot}/%{_localstatedir}/lib/syncthing-relaysrv
|
||||
install -Dpm 0644 cmd/strelaysrv/etc/linux-systemd/strelaysrv.service \
|
||||
%{buildroot}%{_unitdir}/strelaysrv.service
|
||||
sed -i '/Service\]/a EnvironmentFile=-\/etc\/default/strelaysrv' \
|
||||
@ -87,7 +87,7 @@ sed -i 's/^User=.*/User=strelaysrv/' \
|
||||
%{buildroot}%{_unitdir}/strelaysrv.service
|
||||
sed -i 's/^Group=.*/Group=strelaysrv/' \
|
||||
%{buildroot}%{_unitdir}/strelaysrv.service
|
||||
sed -i 's,^ReadWritePaths=.*,ReadWritePaths=/var/lib/strelaysrv,' \
|
||||
sed -i 's,^ReadWritePaths=.*,ReadWritePaths=/var/lib/syncthing-relaysrv,' \
|
||||
%{buildroot}%{_unitdir}/strelaysrv.service
|
||||
install -Dpm 0644 etc/linux-systemd/system/%{name}@.service \
|
||||
%{buildroot}%{_unitdir}/%{name}@.service
|
||||
@ -149,6 +149,6 @@ getent passwd strelaysrv >/dev/null || \
|
||||
%license LICENSE
|
||||
%{_bindir}/strelaysrv
|
||||
%{_unitdir}/strelaysrv.service
|
||||
%dir %attr(750,strelaysrv,strelaysrv) %{_localstatedir}/lib/strelaysrv
|
||||
%dir %attr(750,strelaysrv,strelaysrv) %{_localstatedir}/lib/syncthing-relaysrv
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user