ayourtch / lsyncd

Automatically exported from code.google.com/p/lsyncd
GNU General Public License v2.0
0 stars 0 forks source link

wrong pid in pid-file #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the new release 2.0.0 the option --pidfile writes the wrong pid into the pid 
file: 

As the function write_pidfile() is called before daemonize(), the pid of the 
first process is written, not the pid of the daemon. So start scripts which 
check that number do not work right.

Original issue reported on code.google.com by wolfgang...@gmx.at on 10 Jan 2011 at 10:34

GoogleCodeExporter commented 9 years ago
fixed with 2.0.1.
Thank you for reporting!

Original comment by axk...@gmail.com on 13 Jan 2011 at 12:53