Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Syncthing systemd service file for OSMC
- #Path should be /lib/systemd/system/syncthing.service
- [Unit]
- Description=Syncthing - OSMC
- Documentation=http://docs.syncthing.net/
- After=network.target
- Wants=syncthing-inotify@.service
- [Service]
- User=osmc
- Nice=7
- Environment=STNORESTART=yes
- ExecStart=/usr/bin/syncthing -no-browser -logflags=0
- Restart=on-failure
- SuccessExitStatus=2 3 4
- RestartForceExitStatus=3 4
- [Install]
- WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement