|
@@ -82,7 +82,12 @@ ${mongo_cli} --eval "db.objects.update({ _key: \"settings:emailer-local\" }, { \
|
|
|
${mongo_cli} --eval "db.objects.update({ _key: \"config\" }, { \$set: { \"email:from\": \"${MAIL_FROM}\", \"email:from_name\": \"NodeBB\" } }, { upsert: true })"
|
|
|
${mongo_cli} --eval "db.objects.update({ _key: \"plugins:active\" }, { \$set: { \"value\": \"nodebb-plugin-emailer-local\", \"score\": \"0\" } }, { upsert: true })"
|
|
|
|
|
|
-echo "=> Updating nodebb"
|
|
|
+# there are 3 binaries
|
|
|
+# nodebb - this is used for controlling nodebb (start/stop/restart) etc
|
|
|
+# loader - this is what "nodebb start" starts. loader spawns 'n' number of app(s)
|
|
|
+# app - this is what "nodebb build" calls
|
|
|
+
|
|
|
+echo "=> Updating nodebb (and building assets)"
|
|
|
/usr/local/bin/gosu cloudron:cloudron node /app/code/app --upgrade --series
|
|
|
|
|
|
echo "=> Starting nodebb"
|