summaryrefslogtreecommitdiffstats
path: root/network/syncthing/rc.syncthing
diff options
context:
space:
mode:
author Sebastian Arcus2016-08-11 13:47:49 +0200
committer Willy Sudiarto Raharjo2016-08-13 02:22:19 +0200
commitd918938576ee3dbac301d24056bdc8c931c73701 (patch)
treea5153dfbac7858f625723d7b02b026af43b0caf8 /network/syncthing/rc.syncthing
parent38e24981ed45490acfa3b5d3736edbcf017d4677 (diff)
downloadslackbuilds-d918938576ee3dbac301d24056bdc8c931c73701.tar.gz
network/syncthing: Updated for version 0.14.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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