Am 02.09.2016 um 22:48 schrieb Mick Sulley: > > If I have removed the restart it still fails, however if I introduce a > delay it works > > cp owfs.conf /etc/ > sleep 5 > ./control.py >> logfile > > Less than 5 seconds it fails, 5 or more it works > That is because owserver takes a while before it has it's socket listening.
Why do you restart owserver at all? It's not neccessary. It's designed as a daemon to connect to the hardware at system boot and sit there and wait until other programs connects to it. Kind regards Jan ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers