Fix plugin for systemd
Current devstack uses systemd for running processes.[1] As a result, path of process should be specified as full path. So this patch fixes specifying path. [1]https://docs.openstack.org/developer/devstack/systemd.html Change-Id: I0742a8f746a7ba7a3394e9e3bb5ab3a7ba857e04 Closes-Bug: #1691066
This commit is contained in:
parent
448091b9e3
commit
ba843990c9
@ -87,7 +87,8 @@ function start_sheepdog {
|
||||
if [[ ${DISTRO} =~ (trusty) ]]; then
|
||||
run_process sheepdog "sheep -f -o -l 7 -c local -n ${SHEEPDOG_DATA_DIR}"
|
||||
elif [[ ${DISTRO} =~ (xenial) ]]; then
|
||||
run_process sheepdog "sheep -l dst=stdout,level=debug,format=server -c local -n ${SHEEPDOG_DATA_DIR}"
|
||||
SHEEP_COMMAND_PATH=`which sheep`
|
||||
run_process sheepdog "$SHEEP_COMMAND_PATH -l dst=stdout,level=debug,format=server -c local -n ${SHEEPDOG_DATA_DIR}"
|
||||
else
|
||||
exit_distro_not_supported "Sheepdog since your distro doesn't provide (at least) the Firefly release. Please use Ubuntu Trusty or Xenial."
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user