Remove using fork with MongoDB at Snap.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2025-10-15 07:47:57 +03:00
parent 881125aa98
commit 690481c138

View file

@ -164,8 +164,7 @@ if [ "$ACTIVE_VERSION" = "3" ]; then
--logpath="$MONGO_LOG_FILE" \
--logappend \
--bind_ip=127.0.0.1 \
--port=27017 \
--fork
--port=27017
else
echo "Starting MongoDB 7.x server..."
log_version_detection "Starting MongoDB 7.x server"
@ -174,6 +173,5 @@ else
--logpath="$MONGO_LOG_FILE" \
--logappend \
--bind_ip=127.0.0.1 \
--port=27017 \
--fork
--port=27017
fi