]> git.tuebingen.mpg.de Git - paraslash.git/commit
server: Listen on command socket before daemonizing.
authorAndre Noll <maan@systemlinux.org>
Tue, 20 Sep 2011 10:13:16 +0000 (12:13 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 15 Oct 2011 19:22:53 +0000 (21:22 +0200)
commit7a4b6d5f19976ceac581f6dc235fcbd9b30c767f
tree066cae0e3f31bff08fdb5553f32879911d33aca5
parenta55158f6b992f7863a9d1eb59952f0b4efe4d9c4
server: Listen on command socket before daemonizing.

This makes sure that para_server is already listening on its TCP
command socket before it detaches from the console. This is desirable
because otherwise commands like

para_server -d -L /dev/null && para_client help

may fail due to para_client connecting before para_server starts to
listen.
server.c