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

10 lines
151 B
Plaintext
Executable file

#!/usr/bin/with-contenv bash
if [ "$ENABLE_SYNCTHING" = false ] ; then
exit
fi
/usr/bin/syncthing \
-home="/opt/syncthing" \
-no-browser