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:
2025-11-22 21:04:19 +01:00
parent cdc5176d9f
commit 2f818a403c
4 changed files with 27 additions and 8 deletions

View File

@@ -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
#