Switch back...I'll restart, it seems to work in that case.

This commit is contained in:
niten 2023-08-03 13:41:52 -07:00
parent da6f4a0999
commit e9cba22f53
1 changed files with 3 additions and 4 deletions

View File

@ -303,10 +303,9 @@ in {
"${cfg.state-directory}/mastodon:/mastodon/public/system"
"${cfg.state-directory}/mastodon-opt:/opt"
];
# command = ''bash -c "while :; do 'hit ctrl-c!'; sleep 1; done"'';
command = ''
bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"'';
command = ''bash -c "while :; do 'hit ctrl-c!'; sleep 1; done"'';
# command = ''
# bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"'';
# healthcheck.test = [
# "CMD-SHELL"
# "wget -q --spider --proxy=off localhost:3000/health || exit 1"