runtime/examples/ruby/supervisor.conf

15 lines
397 B
Plaintext
Raw Permalink Normal View History

[program:app]
command=/srv/bin/primary_tech/ruby app.rb
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