More Termux sauce
This commit is contained in:
parent
eeb061a032
commit
f9975b004d
6 changed files with 3 additions and 8 deletions
|
@ -9,14 +9,12 @@ LOGFILE="$HOME/.local/log/syncthing.log"
|
|||
start() {
|
||||
printf "Starting Syncthing: "
|
||||
sudo start-stop-daemon -p "$PIDFILE" -x syncthing -S -b -N 5 -m -- -logfile="$LOGFILE"
|
||||
termux-toast "Started Syncthing"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
stop() {
|
||||
printf "Stopping Syncthing: "
|
||||
sudo start-stop-daemon -p "$PIDFILE" -x syncthing -K
|
||||
termux-toast "Stopped Syncthing"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue