diff --git a/files/etc/default/nodepool b/files/etc/default/nodepool index f7d70be..8541bd8 100644 --- a/files/etc/default/nodepool +++ b/files/etc/default/nodepool @@ -4,6 +4,6 @@ # The prefix used when nodepool was installed. Be sure to update this value # if you are using a virtualenv. -PREFIX=/usr +PREFIX=/usr/local DIB_IMAGE_CACHE=/opt/nodepool/cache diff --git a/files/etc/default/nodepool-builder b/files/etc/default/nodepool-builder index 9a601d2..0ac4d7e 100644 --- a/files/etc/default/nodepool-builder +++ b/files/etc/default/nodepool-builder @@ -4,6 +4,6 @@ # The prefix used when nodepool-builder was installed. Be sure to update this # value if you are using a virtualenv. -PREFIX=/usr +PREFIX=/usr/local DIB_IMAGE_CACHE=/opt/nodepool/cache diff --git a/files/etc/init.d/nodepool b/files/etc/init.d/nodepool index a83c8d9..a95b5d6 100644 --- a/files/etc/init.d/nodepool +++ b/files/etc/init.d/nodepool @@ -23,7 +23,7 @@ USER=nodepool DAEMON=$PREFIX/bin/nodepoold # Exit if the package is not installed -[ -x "$DAEMON" ] || exit 0 +[ -x "$DAEMON" ] || exit 5 # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh diff --git a/files/etc/init.d/nodepool-builder b/files/etc/init.d/nodepool-builder index 913c576..6d43403 100644 --- a/files/etc/init.d/nodepool-builder +++ b/files/etc/init.d/nodepool-builder @@ -23,7 +23,7 @@ USER=nodepool DAEMON=$PREFIX/bin/nodepool-builder # Exit if the package is not installed -[ -x "$DAEMON" ] || exit 0 +[ -x "$DAEMON" ] || exit 5 # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh