mirror of
https://github.com/hoellen/dockerfiles.git
synced 2026-10-15 12:52:21 +00:00
mastodon: redirect logs to files
This commit is contained in:
1 parent
02a80f96bc
commit
f4be378e23
4 files changed
+12
-4
No files matched your search
@@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
cd /mastodon
|
||||
exec bundle exec sidekiq -c $SIDEKIQ_WORKERS -q default -q push -q pull -q mailers
|
||||
exec bundle exec sidekiq -c $SIDEKIQ_WORKERS -q default -q push -q pull -q mailers > ./log/sidekiq.log 2>&1
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
cd /mastodon
|
||||
exec npm run start
|
||||
exec npm run start > ./log/streaming.log 2>&1
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
cd /mastodon
|
||||
exec bundle exec rails s -p 3000 -b '0.0.0.0'
|
||||
exec bundle exec puma -C config/puma.rb > ./log/web.log 2>&1
|
||||
Reference in new issue
Block a user