From: Ben Pfaff Date: Wed, 30 Jul 2008 22:46:36 +0000 (-0700) Subject: Debian: Listen on Unix domain socket for management connections. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb55cf014af9d4e2f2fd788ba8373df76b7d6dd1;p=openvswitch Debian: Listen on Unix domain socket for management connections. --- diff --git a/debian/openflow-switch.init b/debian/openflow-switch.init index 0c8a8688..5d658ed6 100755 --- a/debian/openflow-switch.init +++ b/debian/openflow-switch.init @@ -27,6 +27,7 @@ test -x $DAEMON || exit 0 LOGDIR=/var/log/openflow PIDFILE=/var/run/$NAME.pid +MGMTSOCK=/var/run/$NAME.socket DHCLIENT_PIDFILE=/var/run/dhclient.of0.pid DODTIME=1 # Time to wait for the server to die, in seconds # If this value is set too low you might not @@ -209,7 +210,8 @@ case "$1" in echo -n "Starting $DESC: " start-stop-daemon --start --quiet --pidfile $PIDFILE \ --exec $DAEMON -- nl:0 $CONTROLLER --detach --pidfile=$PIDFILE \ - --verbose=ANY:console:emer $DAEMON_OPTS $SSL_OPTS + --verbose=ANY:console:emer --listen=punix:$MGMTSOCK \ + $DAEMON_OPTS $SSL_OPTS if running; then echo "$NAME." else