[rrd-developers] [PATCH] rrdcached better server start-up
Tobias Oetiker
tobi at oetiker.ch
Tue Oct 21 07:43:18 CEST 2008
Today kevin brintnall wrote:
> * Open all listen sockets in daemonize(), while we still have stderr.
> Changed open_listen_socket_* routines to complain to stderr. Now, any
> errors in binding to the listen sockets are much more obvious.
>
> * Simplified exit of parent after fork()
>
> * PID file will be correctly cleaned up if there is a failure in daemonize().
>
> * unlink the unix socket before trying to bind()
> (after we're sure we have the PID file)
its in
tobi
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-developers
mailing list