Create vlog sockets after daemonizing, so that pidfiles can be used.
authorBen Pfaff <blp@nicira.com>
Wed, 5 Nov 2008 00:11:17 +0000 (16:11 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 5 Nov 2008 00:14:00 +0000 (16:14 -0800)
commitfe6988251d9a8698ff17c5a791b7113763e7db45
tree7b543b387644c9a179c184055c1d4bfc0611dc1b
parentefffd49643b98e735a9bfeb0d13f340f2e2698f7
Create vlog sockets after daemonizing, so that pidfiles can be used.

Otherwise, pidfiles contain the process ID of the process that forked
and exited, so that "vlogconf --target <program.pid>" will fail.
controller/controller.c
lib/vlog-socket.c
secchan/secchan.c
switch/switch.c