commit
9b9b44dd65
16
cmd/relaysrv/etc/linux-systemd/syncthing-relaysrv.service
Normal file
16
cmd/relaysrv/etc/linux-systemd/syncthing-relaysrv.service
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Syncthing relay server
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User=syncthing-relaysrv
|
||||||
|
Group=syncthing-relaysrv
|
||||||
|
ExecStart=/usr/bin/syncthing-relaysrv
|
||||||
|
|
||||||
|
PrivateTmp=true
|
||||||
|
ProtectSystem=full
|
||||||
|
ProtectHome=true
|
||||||
|
NoNewPrivileges=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user