Skip to content

Commit

Permalink
Add gradio supervisord service config
Browse files Browse the repository at this point in the history
  • Loading branch information
mihow committed Mar 28, 2024
1 parent 28eb96b commit 693049f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions gradio.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[program:gradio]
directory=/home/ubuntu/ami-data-companion
command=/home/ubuntu/ami-data-companion/.venv/bin/ami gradio
autostart=true
autorestart=true
# stopsignal=KILL
stopasgroup=true
killasgroup=true
stderr_logfile=/var/log/gradio.err.log
stdout_logfile=/var/log/gradio.out.log
# process_name=%(program_name)s_%(process_num)02d

0 comments on commit 693049f

Please sign in to comment.