feat: configure supervisord to run from /workspace/ai
- Create logs directory with .gitkeep - Update .gitignore to track logs dir but ignore log files - Update supervisord.conf with paths relative to /workspace/ai - Add supervisor control scripts to arty.yml (start/stop/status/restart) - All paths now use ../ to reference parent /workspace directory
This commit is contained in:
18
arty.yml
18
arty.yml
@@ -103,6 +103,24 @@ envs:
|
||||
|
||||
# Deployment scripts for RunPod instances
|
||||
scripts:
|
||||
#
|
||||
# Supervisor Control Scripts
|
||||
#
|
||||
services/supervisor/start: |
|
||||
set -a
|
||||
source .env
|
||||
set +a
|
||||
supervisord -c supervisord.conf
|
||||
|
||||
services/supervisor/stop: |
|
||||
supervisorctl -c supervisord.conf shutdown
|
||||
|
||||
services/supervisor/status: |
|
||||
supervisorctl -c supervisord.conf status
|
||||
|
||||
services/supervisor/restart: |
|
||||
supervisorctl -c supervisord.conf restart all
|
||||
|
||||
#
|
||||
# System Setup Scripts
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user