Add systemd service file

This commit is contained in:
Stefan Tatschner 2015-09-10 22:11:15 +02:00 committed by Stefan Tatschner
parent f6a58151cb
commit dc5627a2ef

View 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