[Unit] Description=mastodon-sidekiq After=network.target [Service] Type=simple User=mastodon WorkingDirectory=/opt/mastodon/live Environment="RAILS_ENV=production" Environment="DB_POOL=5" ExecStart=/opt/mastodon/.rbenv/shims/bundle exec sidekiq -c 5 -q default -q mailers -q pull -q push TimeoutSec=15 Restart=always StandardError=syslog [Install] WantedBy=multi-user.target