mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Remove using fork with MongoDB at Snap.
Thanks to xet7 !
This commit is contained in:
parent
881125aa98
commit
690481c138
1 changed files with 2 additions and 4 deletions
|
|
@ -164,8 +164,7 @@ if [ "$ACTIVE_VERSION" = "3" ]; then
|
||||||
--logpath="$MONGO_LOG_FILE" \
|
--logpath="$MONGO_LOG_FILE" \
|
||||||
--logappend \
|
--logappend \
|
||||||
--bind_ip=127.0.0.1 \
|
--bind_ip=127.0.0.1 \
|
||||||
--port=27017 \
|
--port=27017
|
||||||
--fork
|
|
||||||
else
|
else
|
||||||
echo "Starting MongoDB 7.x server..."
|
echo "Starting MongoDB 7.x server..."
|
||||||
log_version_detection "Starting MongoDB 7.x server"
|
log_version_detection "Starting MongoDB 7.x server"
|
||||||
|
|
@ -174,6 +173,5 @@ else
|
||||||
--logpath="$MONGO_LOG_FILE" \
|
--logpath="$MONGO_LOG_FILE" \
|
||||||
--logappend \
|
--logappend \
|
||||||
--bind_ip=127.0.0.1 \
|
--bind_ip=127.0.0.1 \
|
||||||
--port=27017 \
|
--port=27017
|
||||||
--fork
|
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue