Re: [Owfs-developers] owfs_safe, like mysqld_safe

2011-08-08 Thread Roberto Spadim
i found this script (bash) from you deb package, is that right? just start-stop-daemon command do the 'auto-restart' feature? thanks #!/bin/sh ### BEGIN INIT INFO # Provides: owserver # Required-Start:$remote_fs $syslog $network $named # Required-Stop: $remote_fs $syslog $network

Re: [Owfs-developers] owfs_safe, like mysqld_safe

2011-08-08 Thread Mark Richards
On 8/8/2011 06:29, Vincent Danjean wrote: Look at my Debian package (see my signature). You can do /etc/init.d/owserver stop or /etc/init.d/owserver restart depending if you want to stop or restart (ie kill and start) owserver. About the packaging: I plan to update my packages to the latest rel

Re: [Owfs-developers] owfs_safe, like mysqld_safe

2011-08-08 Thread Vincent Danjean
On 08/08/2011 04:36, Roberto Spadim wrote: > hi guys, i need a ' safe ' option of owserver > what it should do? > if owserver die or be killed with kill PID instead kill -9 PID > it restart > but if kill PID = a 'owserver_safe' PID, it kill real owserver pid > > got? > it's a on error retry featur