lib/neutron: fix metering agent startup with systemd
With systemd, we now require absolute paths passed to run_process. Change-Id: Iabd425a6d0ebaaaa5b13bc4a7b062158940958e6
This commit is contained in:
@@ -443,7 +443,7 @@ function start_neutron_new {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if is_service_enabled neutron-metering; then
|
if is_service_enabled neutron-metering; then
|
||||||
run_process neutron-metering "$NEUTRON_METERING_BINARY --config-file $NEUTRON_CONF --config-file $NEUTRON_METERING_AGENT_CONF"
|
run_process neutron-metering "$NEUTRON_BIN_DIR/$NEUTRON_METERING_BINARY --config-file $NEUTRON_CONF --config-file $NEUTRON_METERING_AGENT_CONF"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user