If you are talking specifically about owfs (the file system), you kill
owfs, then umount the directory, then restart. Works well.

Example:

#owfs start
sudo /opt/owfs/bin/owfs -m /mnt/1wire -u --allow_other

#owfs cleanup
sudo killall owfs
sudo umount /mnt/1wire

#owfs restart
sudo /opt/owfs/bin/owfs -m /mnt/1wire -u --allow_other

I'm not sure the umount is always needed, but when owfs has crashed
rather than exited gracefully, it's been the missing part and does no
harm.

On Mon, Jan 24, 2011 at 8:21 AM, Roberto Spadim <[email protected]> wrote:
> i don't know if rinetd could help you...
>
> 2011/1/24 Roberto Spadim <[email protected]>:
>> you want a "apachectl graceful" for owfs?
>> i think you can't get it only if you make a tcp proxy between your
>> application and owserver, or owhttp, or another ow* tcp server
>> the proxy should know that the endpoint (owserver) is down, and wait
>> it to get back, your client (proxy) will never know if you owserver is
>> down, just if your proxy is down
>>
>> 2011/1/24 Chris G <[email protected]>:
>>> I have owfs running (well, I *did* have it running) on a remote Linux
>>> box, it monitors some temperatures for me and then I have a cron job
>>> mailing the values to me.
>>>
>>> However owfs has fallen over and the 'memory' locations where the
>>> temperatures should be are no longer there.
>>>
>>> How can I restart owfs?  I can get command line access to the remote
>>> system using ssh but I don't really want to have to reboot it if I can
>>> avoid it as, if the reboot fails, I'm helpless until I visit the system
>>> again. (Since it's in Belgium and I'm in England that's not trivial!).
>>>
>>> So, as I said, how does one restart owfs without having to reboot?
>>>
>>> --
>>> Chris Green
>>>
>>> ------------------------------------------------------------------------------
>>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>>> Finally, a world-class log management solution at an even better price-free!
>>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>>> February 28th, so secure your free ArcSight Logger TODAY!
>>> http://p.sf.net/sfu/arcsight-sfd2d
>>> _______________________________________________
>>> Owfs-developers mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>
>>>
>>
>>
>>
>> --
>> Roberto Spadim
>> Spadim Technology / SPAEmpresarial
>>
>
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to