runtime/examples/ruby/supervisor.conf
Adam Štrauch 940d2b7f01
Some checks failed
continuous-integration/drone/push Build is failing
Passenger for Ruby
2023-11-25 03:00:21 +01:00

15 lines
448 B
Plaintext

[program:app]
command=passenger start --port 8000 --log-file /dev/stdout --pid-file /srv/run/passenger.pid
environment=PATH="/srv/bin/primary_tech:/usr/local/bin:/usr/bin:/bin:/srv/.npm-packages/bin"
stopasgroup=true
directory=/srv/app
process_name=app
autostart=true
autorestart=true
stdout_logfile=/srv/log/ruby.log
stdout_logfile_maxbytes=2MB
stdout_logfile_backups=5
stdout_capture_maxbytes=2MB
stdout_events_enabled=false
redirect_stderr=true