#!/bin/sh

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)

. /etc/profile
oe_setup_addon service.system.syncthing

STNODEFAULTFOLDER="1" syncthing -home=$ADDON_HOME           \
                                -gui-address="$gui_address" \
                                -logflags=0                 \
                                -no-browser                 \
                                -no-restart                 \
                                &

