Add systemd service file

This commit is contained in:
Stefan Tatschner authored and Stefan Tatschner committed 2015-10-10 12:50:21 +02:00
1 parent f6a58151cb
commit dc5627a2ef
1 file changed
+16
@@ -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