summaryrefslogtreecommitdiffstats
path: root/vespabase/src
diff options
context:
space:
mode:
Diffstat (limited to 'vespabase/src')
-rwxr-xr-xvespabase/src/vespa-start-configserver.sh7
-rwxr-xr-xvespabase/src/vespa-start-services.sh7
2 files changed, 4 insertions, 10 deletions
diff --git a/vespabase/src/vespa-start-configserver.sh b/vespabase/src/vespa-start-configserver.sh
index cba6cbfd740..8473ec74a92 100755
--- a/vespabase/src/vespa-start-configserver.sh
+++ b/vespabase/src/vespa-start-configserver.sh
@@ -61,11 +61,8 @@ findroot
${VESPA_HOME}/bin/vespa-prestart.sh || exit 1
willrun=${VESPA_HOME}/libexec/vespa/start-configserver
if [ -x $willrun ]; then
- echo "Starting $willrun as a background process." >&2
- exec </dev/null
- exec >/dev/null 2>&1
- nohup $willrun &
- exit 0
+ echo "Starting $willrun" >&2
+ exec $willrun
fi
echo "FATAL cannot run: $willrun"
exit 1
diff --git a/vespabase/src/vespa-start-services.sh b/vespabase/src/vespa-start-services.sh
index e3cdf855850..ccc6c74c856 100755
--- a/vespabase/src/vespa-start-services.sh
+++ b/vespabase/src/vespa-start-services.sh
@@ -61,11 +61,8 @@ findroot
${VESPA_HOME}/bin/vespa-prestart.sh || exit 1
willrun=${VESPA_HOME}/libexec/vespa/start-vespa-base.sh
if [ -x $willrun ]; then
- echo "Starting $willrun as a background process." >&2
- exec </dev/null
- exec >/dev/null 2>&1
- nohup $willrun &
- exit 0
+ echo "Starting $willrun" >&2
+ exec $willrun
fi
echo "FATAL cannot run: $willrun"
exit 1