]> xenbits.xensource.com Git - people/iwj/xen.git/commitdiff
xencommons xenstored startup: Use --pid-file $F not --pid-file=$F
authorIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 12:26:31 +0000 (12:26 +0000)
committerIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 14:00:16 +0000 (14:00 +0000)
The ocaml libraries in stretch understands only the variant
with separate arguments.  So a build of this package for stretch
produces an error message and C xenstored instead of oxenstored.

Fix this here even in the buster branch since it makes backporting
easier.

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
debian/xen-utils-common.xen.init

index c082e3ad05ddb61a35b90e76f0e13bcd038d95b8..f66ce6b8db18ea9e9d5c3880881d552707def270 100644 (file)
@@ -135,7 +135,7 @@ xenconsoled_start_real()
        start-stop-daemon --start --quiet --pidfile "$XENCONSOLED_PIDFILE" --exec "$XENCONSOLED" --test > /dev/null \
                || return 1
        start-stop-daemon --start --quiet --pidfile "$XENCONSOLED_PIDFILE" --exec "$XENCONSOLED" -- \
-               $XENCONSOLED_ARGS --pid-file="$XENCONSOLED_PIDFILE" \
+               $XENCONSOLED_ARGS --pid-file "$XENCONSOLED_PIDFILE" \
                || return 2
 }
 
@@ -233,7 +233,7 @@ xenstored_start()
                if [ -x $try_xenstored ]; then
                        if start-stop-daemon --start --quiet \
                                --pidfile "$XENSTORED_PIDFILE" --exec "$try_xenstored" -- \
-                               $XENSTORED_ARGS --pid-file="$XENSTORED_PIDFILE"; then
+                               $XENSTORED_ARGS --pid-file "$XENSTORED_PIDFILE"; then
                                        started_xenstored=$try_xenstored
                                        break
                        fi