blob: a0237884bf21f4a50b49ffd8c399f4a01e30f7a1 (
plain)
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
|
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
|