Hermes Agent gateway needs to be started automatically. It is not recommended to use temporary commands such asnohup hermes gateway &, and give priority to official service management commands. Linux uses systemd and macOS uses launchd, so that gateway capabilities such as Telegram, Discord, Slack, and cron will be automatically restored after restarting.Linux Recommendation Process
_CODE_BLOCK_0___ HTML_4If it is a VPS or unattended server, it will be started as soon as it needs to be started, and you can use system services:
sudo hermes gateway install --system
sudo hermes gateway start --system
sudo hermes gateway status --system_How to do macOSRunning_CODE_INLINE_3__on macOS will generate a launchd configuration. Usehermes gateway start,hermes gateway stop, andhermes gateway statusto manage later. After installing a new Node, ffmpeg, or changing the PATH, it is best to re-execute install to keep the service updated.
In a word:Hermes Agent gateway To be online for a long time, use the official install/start/status, and do not write the background process by hand.
Official open source address: https://github.com/NousResearch/hermes-agent; Official document entry: https://hermes-agent.nousresearch.com/_.
Running_CODE_INLINE_3__on macOS will generate a launchd configuration. Usehermes gateway start,hermes gateway stop, andhermes gateway statusto manage later. After installing a new Node, ffmpeg, or changing the PATH, it is best to re-execute install to keep the service updated.
In a word:Hermes Agent gateway To be online for a long time, use the official install/start/status, and do not write the background process by hand.