Merge pull request #4 from rumpelsepp/systemd

Add systemd service file
This commit is contained in:
Audrius Butkevicius 2015-10-10 11:51:31 +01:00
commit 9b9b44dd65
1 changed files with 16 additions and 0 deletions

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