[Unit] Description=Hermes Agent Gateway - Messaging Platform Integration After=network-online.target Wants=network-online.target StartLimitIntervalSec=0 [Service] Type=simple ExecStart=/root/.hermes/hermes-agent/venv/bin/python -m hermes_cli.main gateway run --replace WorkingDirectory=/root/.hermes/hermes-agent Environment="PATH=/root/.hermes/hermes-agent/venv/bin:/root/.hermes/hermes-agent/node_modules/.bin:/root/.nvm/versions/node/v22.22.0/bin:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" Environment="VIRTUAL_ENV=/root/.hermes/hermes-agent/venv" Environment="HERMES_HOME=/root/.hermes" Restart=always RestartSec=60 RestartMaxDelaySec=300 RestartSteps=5 RestartForceExitStatus=75 KillMode=mixed KillSignal=SIGTERM ExecReload=/bin/kill -USR1 $MAINPID TimeoutStopSec=90 StandardOutput=journal StandardError=journal [Install] WantedBy=default.target