mastodon: redirect logs to files

This commit is contained in:
Wonderfall
2017-06-13 22:35:21 +02:00
parent 02a80f96bc
commit f4be378e23
4 changed files with 12 additions and 4 deletions

View File

@ -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