PiFrameFleet/root/etc/services.d/syncthing/run

10 lines
151 B
Plaintext
Raw Normal View History

2020-08-06 22:22:05 +00:00
#!/usr/bin/with-contenv bash
if [ "$ENABLE_SYNCTHING" = false ] ; then
exit
fi
/usr/bin/syncthing \
-home="/opt/syncthing" \
-no-browser