Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. [Unit]
  2. Description=mastodon-sidekiq
  3. After=network.target
  4.  
  5. [Service]
  6. Type=simple
  7. User=mastodon
  8. WorkingDirectory=/home/mastodon/live
  9. Environment="RAILS_ENV=production"
  10. Environment="DB_POOL=5"
  11. ExecStart=/home/mastodon/.rbenv/shims/bundle exec sidekiq -c 5 -q default -q mailers -q pull -q push
  12. TimeoutSec=15
  13. Restart=always
  14.  
  15. [Install]
  16. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement