mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
Jail the whole thing a bit more
Add WorkingDirectory to create and use the certificates within /var/lib/syncthing-relaysrv. Add RootDirectory to chroot(2) the whole thing into that directory.
This commit is contained in:
parent
dc5627a2ef
commit
7e4f08c033
@ -6,6 +6,8 @@ After=network.target
|
||||
User=syncthing-relaysrv
|
||||
Group=syncthing-relaysrv
|
||||
ExecStart=/usr/bin/syncthing-relaysrv
|
||||
WorkingDirectory=/var/lib/syncthing-relaysrv
|
||||
RootDirectory=/var/lib/syncthing-relaysrv
|
||||
|
||||
PrivateTmp=true
|
||||
ProtectSystem=full
|
||||
|
Loading…
Reference in New Issue
Block a user