Browse Source

more fscking fixes

master
root 7 months ago
parent
commit
7136a79eec
2 changed files with 9 additions and 2 deletions
  1. 3
      assets/libloader.sh
  2. 8
      assets/loader.sh

3
assets/libloader.sh

@ -14,7 +14,7 @@ TUN_MAINT_CARDS_LIFETIME=60
TUN_MAINT_MEDIA_LIFETIME=7
#Commands
CMD_WEB="rm -f /mastodon/tmp/pids/server.pid;bundle exec rails s -p 3000 -b 0.0.0.0"
CMD_WEB="bundle exec rails s -p 3000 -b 0.0.0.0"
CMD_STR="yarn start"
CMD_SDK="bundle exec sidekiq"
@ -92,6 +92,7 @@ role_web() {
enrich es
enrich sg
enrich vapid
rm -f /mastodon/tmp/pids/server.pid
export WEB_CONCURRENCY=$TUN_WEB_CNC
export MAX_THREADS=$TUN_WEB_THD
CMD_RUN="$CMD_WEB"

8
assets/loader.sh

@ -27,4 +27,10 @@ case "$ROLE" in
;;
esac
/bin/sh -c "$CMD_RUN"
_log ..env..
env
_log ..set..
set
_log ..cmd..
exec $CMD_RUN
Loading…
Cancel
Save