Thread: [Fremantle Maemo5] [Announce] OpenSSH status widget
View Single Post
Posts: 136 | Thanked: 263 times | Joined on Nov 2012 @ Germany
#38
Originally Posted by handaxe View Post
Strange, but after some time, the app indicator "forgets" that the server is enabled. Pressing the drop-drown generates an "already running, updating screen" (or words to that effect) message and the indicator reappears.

Is this "sleep" related?
This needs a fix/workaround. It happens that the server status is recognized as off even when it should be on. The command for checking is
Code:
ps aux | grep -c usr/sbin/sshd
which i think can be assumed to be reliable.

Anyway, when "Stop tracking status when off" is enabled (you do have it enabled?) the widget immediately stops tracking as soon as status OFF is recognized. To handle those occasional short intervals correctly, when the sshd daemon seems non-listed in the process list, a time-out needs to be added before tracking stops.
 

The Following User Says Thank You to rasmarc For This Useful Post: