in-band: Refactor slightly to be easier to understand.
[openvswitch] / debian / openvswitch-controller.init
index 3706ea98ef5feb109b213957be3948cfe320b13c..cf01fcfc01c795b8c9a13d278ef7d43a52bf6d33 100755 (executable)
@@ -19,8 +19,8 @@
 #
 ### BEGIN INIT INFO
 # Provides:          openvswitch-controller
-# Required-Start:    $network $local_fs
-# Required-Stop:     
+# Required-Start:    $network $local_fs $remote_fs
+# Required-Stop:     $remote_fs
 # Should-Start:      $named
 # Should-Stop:       
 # Default-Start:     2 3 4 5
@@ -35,7 +35,7 @@ NAME=ovs-controller         # Introduce the short server's name here
 DESC=ovs-controller         # Introduce a short description here
 LOGDIR=/var/log/openvswitch # Log directory to use
 
-PIDFILE=/var/run/$NAME.pid 
+PIDFILE=/var/run/openvswitch/$NAME.pid 
 
 test -x $DAEMON || exit 0