mastodon-sidekiq.service 355 B

1234567891011121314151617
  1. [Unit]
  2. Description=mastodon-sidekiq
  3. After=network.target
  4. [Service]
  5. Type=simple
  6. User=mastodon
  7. WorkingDirectory=/home/mastodon/live
  8. Environment="RAILS_ENV=production"
  9. Environment="DB_POOL=25"
  10. Environment="MALLOC_ARENA_MAX=2"
  11. ExecStart=/home/mastodon/.rbenv/shims/bundle exec sidekiq -c 25
  12. TimeoutSec=15
  13. Restart=always
  14. [Install]
  15. WantedBy=multi-user.target