Use full path to socat in devstack plugin

Now devstack is systemd-ified, make sure this has full path to avoid
it complaining.

  [/etc/systemd/system/devstack@statsd.service:6] Executable path is not absolute, ignoring: socat -u udp-recv:8125 -

Change-Id: I47ebf5abb86bc202e5bf90b0cc318764cbb0d062
(cherry picked from commit 4170b3eb3b)
This commit is contained in:
Ian Wienand 2017-05-02 16:37:27 +10:00 committed by Clark Boylan
parent 9ab53ff58c
commit 10f1f9e2bd
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ function start_nodepool {
# run a fake statsd so we test stats sending paths
export STATSD_HOST=localhost
export STATSD_PORT=8125
run_process statsd "socat -u udp-recv:$STATSD_PORT -"
run_process statsd "/usr/bin/socat -u udp-recv:$STATSD_PORT -"
run_process nodepool-launcher "$NODEPOOL_INSTALL/bin/nodepool-launcher -c $NODEPOOL_CONFIG -s $NODEPOOL_SECURE -l $NODEPOOL_LOGGING -d"
run_process nodepool-builder "$NODEPOOL_INSTALL/bin/nodepool-builder -c $NODEPOOL_CONFIG -l $NODEPOOL_LOGGING -d"