X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=debian%2Fopenvswitch-controller.init;h=cf01fcfc01c795b8c9a13d278ef7d43a52bf6d33;hb=55e199190427d962831486b5cec0d1723519a197;hp=c5f8eb8fb5f854e98dbe64088c0c159a2bc76287;hpb=f20bbd7ad2e76d8f07b8693ded1f09f6c5aacfd2;p=openvswitch diff --git a/debian/openvswitch-controller.init b/debian/openvswitch-controller.init index c5f8eb8f..cf01fcfc 100755 --- a/debian/openvswitch-controller.init +++ b/debian/openvswitch-controller.init @@ -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 @@ -30,12 +30,12 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin -DAEMON=/usr/sbin/controller # Introduce the server's location here +DAEMON=/usr/sbin/ovs-controller # Introduce the server's location here 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