File errbit-sidekiq.service of Package errbit

[Unit]
Description=Errbit Sidekiq
After=mongodb.service redis.target
PartOf=errbit.target

[Service]
Type=simple
User=errbit
Group=errbit
Environment="RUBY_GC_MALLOC_LIMIT=90000000"
WorkingDirectory=/srv/www/vhosts/errbit/
ExecStart=/usr/bin/bundle.@RUBY_SUFFIX@ exec /usr/bin/sidekiq.@RUBY_SUFFIX@ --logfile /srv/www/vhosts/errbit/log/sidekiq.log --concurrency 3 --environment production -q default -q critical -q low
Restart=on-failure

[Install]
WantedBy=multi-user.target