18 lines
368 B
Desktop File
18 lines
368 B
Desktop File
[Unit]
|
|
Description=mastodon-sidekiq
|
|
After=network.target
|
|
PartOf=mastodon.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=mastodon
|
|
WorkingDirectory=workdir
|
|
Environment="RAILS_ENV=production"
|
|
#Environment="RUBYOPT=--jit"
|
|
ExecStart=homedir/.rbenv/shims/bundle exec sidekiq -c 50 -q default -q push -q mailers -q pull
|
|
TimeoutSec=15
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|