[Unit]
Description=Hermes Agent Web Dashboard
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=root
Group=root
ExecStart=/root/.local/bin/hermes dashboard --host 100.116.48.82 --port 9119 --no-open
WorkingDirectory=/root
EnvironmentFile=/root/.hermes/.env
Environment="HERMES_HOME=/root/.hermes"
Restart=on-failure
RestartSec=30
KillMode=mixed
KillSignal=SIGTERM
TimeoutStopSec=90
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=multi-user.target
