Files
hermes-config/scripts/hermes-dashboard.service

26 lines
752 B
Desktop File

[Unit]
Description=Hermes Agent Dashboard - Web UI
After=network-online.target
Wants=network-online.target
StartLimitIntervalSec=0
[Service]
Type=exec
ExecStart=/root/.hermes/scripts/dashboard-wrapper.sh
WorkingDirectory=/root/.hermes/hermes-agent
Environment="PATH=/root/.hermes/hermes-agent/venv/bin:/root/.hermes/hermes-agent/node_modules/.bin:/root/.hermes/node/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=on-failure
RestartSec=5
RestartMaxDelaySec=300
RestartSteps=5
KillMode=process
KillSignal=SIGTERM
TimeoutStopSec=90
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=default.target