File discourse-sidekiq.service of Package discourse
[Unit] Description=Discourse Sidekiq After=postgresql.service redis.target discourse-update.service Requires=discourse-update.service PartOf=discourse.target [Service] Type=simple User=discourse Group=discourse Environment="RUBY_GC_MALLOC_LIMIT=90000000" "LANG=en_US.UTF-8" "LC_ALL=en_US.UTF-8" WorkingDirectory=/srv/www/vhosts/discourse/ ExecStart=BUNDLER_REPLACE exec /usr/bin/sidekiq.@RUBY_SUFFIX@ --logfile /srv/www/vhosts/discourse/log/sidekiq.log --config /srv/www/vhosts/discourse/config/sidekiq.yml --environment production Restart=on-failure [Install] WantedBy=discourse.target