hometown-mastodon/root/etc/services.d/sidekiq/run

11 lines
212 B
Text
Raw Normal View History

2022-11-08 09:05:24 +00:00
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
RAILS_ENV=production
PATH="${PATH}:/opt/ruby/bin:/opt/node/bin:/app/www/bin"
cd /app/www || exit 1
exec \
s6-setuidgid abc /usr/bin/bundle exec sidekiq