hometown-mastodon/root/etc/services.d/sidekiq/run
2022-11-08 09:05:24 +00:00

11 lines
212 B
Plaintext
Executable file

#!/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