diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 4 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Fri Feb 22 01:10:24 UTC 2019 +# Sun Feb 24 11:01:14 UTC 2019 pkgbase = mongodb pkgdesc = A high-performance, open source, schema-free document-oriented database pkgver = 4.0.6 - pkgrel = 2 + pkgrel = 3 url = https://www.mongodb.com/ arch = x86_64 license = custom:SSPL @@ -9,7 +9,7 @@ pkgname=mongodb # #.<odd number>.# releases are unstable development/testing pkgver=4.0.6 -pkgrel=2 +pkgrel=3 pkgdesc="A high-performance, open source, schema-free document-oriented database" arch=("x86_64") url="https://www.${pkgname}.com/" @@ -39,7 +39,7 @@ _scons_args=( --use-sasl-client --ssl --disable-warnings-as-errors - # --use-system-asio # https://jira.mongodb.org/browse/SERVER-21839 marked as fixed, but still doesn't compile. Mongodb uses custom patches. + # --use-system-asio # https://jira.mongodb.org/browse/SERVER-21839 marked as fixed, but still doesn't compile. MongoDB uses custom patches. # --use-system-icu # Doesn't compile --use-system-tcmalloc # in gperftools # --use-system-boost # Doesn't compile @@ -64,6 +64,11 @@ prepare() { # Remove sysconfig file, used by upstream's init.d script not used on Arch sed -i '/EnvironmentFile=-\/etc\/sysconfig\/mongod/d' rpm/mongod.service + + # Make systemd wait as long as it takes for MongoDB to start + # If MongoDB needs a long time to start, prevent systemd from restarting it every 90 seconds + # See: https://jira.mongodb.org/browse/SERVER-38086 + sed -i 's/\[Service]/[Service]\nTimeoutStartSec=infinity/' rpm/mongod.service } build() { |