move wrongly placed function
# BEGIN environment bootstrap section
# Do not edit between here and END as this section should stay identical in all scripts
-function debug {
- echo "$(date -Is) $*"
-}
-
findpath () {
myname=${0}
mypath=${myname%/*}
@@ -80,6 +76,10 @@ findroot
# END environment bootstrap section
+function debug {
+ echo "$(date -Is) $*"
+}
+
has_servicename() {
local name="$1"
$VESPA_HOME/bin/vespa-model-inspect host $(hostname) | grep -q "$name @ "
