[Unit]
Description=Hermes Gateway — %i profile
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=hmo
WorkingDirectory=/home/hmo/hermes-agent
Environment="PATH=/home/hmo/.local/bin:/usr/local/bin:/usr/bin:/bin"
ExecStart=/home/hmo/hermes-agent/.venv/bin/python -m hermes_cli.main -p %i gateway run --replace
Restart=always
RestartSec=10
StandardOutput=journal
StandardError=journal
SyslogIdentifier=hermes-gateway-%i

[Install]
WantedBy=multi-user.target
