[Unit]
Description=Syncthing - Open Source Continuous File Synchronization
Documentation=http://docs.syncthing.net/
After=network.target
Requires=network.target

[Service]
Type=forking
ExecStart=/bin/sh /storage/.kodi/addons/service.system.syncthing/bin/syncthing-service
Restart=on-failure
SuccessExitStatus=3 4
RestartForceExitStatus=3 4

[Install]
WantedBy=kodi.target

