syncthing 2.0.5

This commit is contained in:
Hadrien Dussuel
2025-09-03 10:51:03 +02:00
parent d0418bc437
commit d465dde2aa
16 changed files with 347 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
Let us save ourselves the pain of messing with renamed system accounts
use the old names, for now at least.
--- a/cmd/stdiscosrv/etc/linux-systemd/stdiscosrv.service
+++ b/cmd/stdiscosrv/etc/linux-systemd/stdiscosrv.service
@@ -9,7 +9,7 @@
ExecStart=/usr/bin/stdiscosrv $DISCOSRV_OPTS
# Hardening
-User=syncthing-discosrv
+User=stdiscosrv
Group=syncthing
ProtectSystem=strict
ReadWritePaths=/var/lib/syncthing-discosrv
--- a/cmd/strelaysrv/etc/linux-systemd/strelaysrv.service
+++ b/cmd/strelaysrv/etc/linux-systemd/strelaysrv.service
@@ -9,7 +9,7 @@
ExecStart=/usr/bin/strelaysrv -nat=${NAT} $RELAYSRV_OPTS
# Hardening
-User=syncthing-relaysrv
+User=strelaysrv
Group=syncthing
ProtectSystem=strict
ReadWritePaths=/var/lib/syncthing-relaysrv