mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
27 lines
1.0 KiB
Desktop File
27 lines
1.0 KiB
Desktop File
[Unit]
|
|||
|
|
Description=Hermes Agent Gateway - Messaging Platform Integration
|
||
|
|
After=network-online.target
|
||
|
|
Wants=network-online.target
|
||
|
|
StartLimitIntervalSec=0
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
Type=simple
|
||
|
|
ExecStart=/home/prad/.hermes/hermes-agent/venv/bin/python -m hermes_cli.main gateway run
|
||
|
|
WorkingDirectory=/home/prad/.hermes
|
||
|
|
Environment="PATH=/home/prad/.hermes/hermes-agent/venv/bin:/home/prad/.hermes/hermes-agent/node_modules/.bin:/home/prad/.local/share/mise/installs/node/latest/bin:/home/prad/.local/bin:/home/prad/.cargo/bin:/home/prad/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||
|
|
Environment="VIRTUAL_ENV=/home/prad/.hermes/hermes-agent/venv"
|
||
|
|
Environment="HERMES_HOME=/home/prad/.hermes"
|
||
|
|
Restart=always
|
||
|
|
RestartSec=5
|
||
|
|
RestartForceExitStatus=75
|
||
|
|
RestartPreventExitStatus=78
|
||
|
|
KillMode=mixed
|
||
|
|
KillSignal=SIGTERM
|
||
|
|
ExecReload=/bin/kill -USR1 $MAINPID
|
||
|
|
ExecStopPost=-/home/prad/.hermes/hermes-agent/venv/bin/python -m gateway.cgroup_cleanup
|
||
|
|
TimeoutStopSec=210
|
||
|
|
StandardOutput=journal
|
||
|
|
StandardError=journal
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=default.target
|