syncthing/cmd/relaysrv/etc/linux-systemd/syncthing-relaysrv.service

19 lines
350 B
SYSTEMD
Raw Normal View History

2015-09-10 20:11:15 +00:00
[Unit]
Description=Syncthing relay server
After=network.target
[Service]
User=syncthing-relaysrv
Group=syncthing-relaysrv
2015-10-10 13:24:20 +00:00
ExecStart=/usr/bin/relaysrv
WorkingDirectory=/var/lib/syncthing-relaysrv
RootDirectory=/var/lib/syncthing-relaysrv
2015-09-10 20:11:15 +00:00
PrivateTmp=true
ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target