Loading nixos/modules/services/databases/mongodb.nix +2 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,8 @@ in rm ${cfg.dbpath}/mongod.lock || true if ! test -e ${cfg.dbpath}; then install -d -m0700 -o ${cfg.user} ${cfg.dbpath} fi if ! test -e ${cfg.dbpath}/storage.bson; then # See postStart! touch ${cfg.dbpath}/.first_startup fi Loading Loading
nixos/modules/services/databases/mongodb.nix +2 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,8 @@ in rm ${cfg.dbpath}/mongod.lock || true if ! test -e ${cfg.dbpath}; then install -d -m0700 -o ${cfg.user} ${cfg.dbpath} fi if ! test -e ${cfg.dbpath}/storage.bson; then # See postStart! touch ${cfg.dbpath}/.first_startup fi Loading