add some minor instruction
This commit is contained in:
parent
afd6bee7c0
commit
ba0697438b
|
@ -1,5 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
## This script assumes you are running KDE
|
||||||
|
|
||||||
SERVICE="syncthing"
|
SERVICE="syncthing"
|
||||||
if pgrep -x "$SERVICE" >/dev/null
|
if pgrep -x "$SERVICE" >/dev/null
|
||||||
then
|
then
|
||||||
|
|
2
onbat.sh
2
onbat.sh
|
@ -1,5 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
## This script assumes you are running KDE
|
||||||
|
|
||||||
SERVICE="syncthing"
|
SERVICE="syncthing"
|
||||||
if pgrep -x "$SERVICE" >/dev/null
|
if pgrep -x "$SERVICE" >/dev/null
|
||||||
then
|
then
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
## This script assumes you are running KDE
|
||||||
|
|
||||||
SERVICE="syncthing"
|
SERVICE="syncthing"
|
||||||
if pgrep -x "$SERVICE" >/dev/null
|
if pgrep -x "$SERVICE" >/dev/null
|
||||||
then
|
then
|
||||||
|
@ -11,4 +13,3 @@ else
|
||||||
## start syncthing
|
## start syncthing
|
||||||
/usr/bin/syncthing serve --no-browser --logfile=default
|
/usr/bin/syncthing serve --no-browser --logfile=default
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue