summaryrefslogtreecommitdiff
path: root/network/syncthing/rc.syncthing
diff options
context:
space:
mode:
Diffstat (limited to 'network/syncthing/rc.syncthing')
-rw-r--r--network/syncthing/rc.syncthing4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/syncthing/rc.syncthing b/network/syncthing/rc.syncthing
index 4bee846c84..730e638816 100644
--- a/network/syncthing/rc.syncthing
+++ b/network/syncthing/rc.syncthing
@@ -25,7 +25,7 @@ SYNCTHING="/usr/bin/syncthing"
CONFDIR="/var/lib/syncthing/config"
LOGFILE="/var/log/syncthing/syncthing.log"
LOGFLAGS="11"
-ST_ARGS="-no-browser"
+SYNCTHING_ARGS="-no-browser"
case "$1" in
stop)
@@ -39,7 +39,7 @@ case "$1" in
;;
start)
echo "Start Syncthing..."
- su - $ST_USER -c "$SYNCTHING -home=$CONFDIR -logfile=$LOGFILE -logflags=$LOGFLAGS $ST_ARGS" 1>/dev/null 2>&1 &
+ su - $SYNCTHING_USER -c "$SYNCTHING -home=$CONFDIR -logfile=$LOGFILE -logflags=$LOGFLAGS $SYNCTHING_ARGS" 1>/dev/null 2>&1 &
;;
restart)
$0 stop