Add systemd service file
This commit is contained in:
parent
f6a58151cb
commit
dc5627a2ef
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…
x
Reference in New Issue
Block a user