# Example Supervisor Service Configs # Copy this file to /data/supervisor.d/ and remove .disabled extension to enable # === OpenClaw Gateway === # Prerequisites: Run 'openclaw onboard' once in terminal to configure # Then enable this section and restart supervisord # # [program:openclaw] # command=openclaw gateway --port 18789 # directory=/data/workspace # autostart=true # autorestart=true # stdout_logfile=/data/openclaw/supervisor-openclaw.log # stderr_logfile=/data/openclaw/supervisor-openclaw.err # stdout_logfile_maxbytes=10MB # stderr_logfile_maxbytes=10MB # environment=HOME="/root",PATH="/root/.local/bin:/data/npm-global/bin:/usr/local/bin:/usr/bin:/bin" # priority=30 # === Hermes Agent === # Prerequisites: Run 'hermes setup --portal' once to configure # Then enable this section # # [program:hermes] # command=hermes chat # directory=/data/workspace # autostart=false # autorestart=true # stdout_logfile=/data/hermes/supervisor-hermes.log # stderr_logfile=/data/hermes/supervisor-hermes.err # stdout_logfile_maxbytes=10MB # stderr_logfile_maxbytes=10MB # environment=HOME="/root" # priority=40 # === Custom Dev Server Example === # [program:myapp] # command=npm run dev # directory=/data/workspace/myapp # autostart=false # autorestart=true # stdout_logfile=/data/myapp.log # stderr_logfile=/data/myapp.err # environment=HOME="/root",PATH="/data/npm-global/bin:/data/venv/bin:/usr/local/bin:/usr/bin:/bin"