summarylogtreecommitdiffstats
path: root/mastodon-sidekiq.service
blob: 1426f5448fe70d1a1bbede582f609ada10756e5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Mastodon background queue service
After=network.target

[Service]
Type=simple
User=mastodon
WorkingDirectory=/var/lib/mastodon
Environment="RAILS_ENV=production"
Environment="DB_POOL=5"
ExecStart=/usr/bin/bundle exec sidekiq -c 5 -q default -q mailers -q pull -q push
TimeoutSec=15
Restart=always

[Install]
WantedBy=multi-user.target