runtime/examples/golang/supervisor.conf

15 lines
386 B
Plaintext
Raw Permalink Normal View History

2024-08-13 17:59:45 +00:00
[program:app]
command=/srv/app/example_app
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/golang.log
stdout_logfile_maxbytes=2MB
stdout_logfile_backups=5
stdout_capture_maxbytes=2MB
stdout_events_enabled=false
redirect_stderr=true