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

19 lines
360 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
ExecStart=/usr/bin/syncthing-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