File errbit-puma.service of Package errbit
[Unit]
Description=Errbit
After=mongodb.service errbit-update.service
Requires=errbit-update.service
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/puma.@RUBY_SUFFIX@ --env production --config /srv/www/vhosts/errbit/config/puma.rb
KillSignal=SIGINT
Restart=on-failure
[Install]
WantedBy=multi-user.target