Termux SSHD service
This commit is contained in:
parent
caf49db140
commit
96751acaab
2 changed files with 62 additions and 1 deletions
|
@ -22,7 +22,7 @@ stop() {
|
|||
|
||||
status() {
|
||||
printf "Syncthing: "
|
||||
PID="$(sudo cat "$PIDFILE")"
|
||||
PID="$(sudo cat "$PIDFILE" 2> /dev/null)"
|
||||
if [[ -n "$PID" && -d "/proc/$PID" ]]
|
||||
then
|
||||
echo "running"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue