mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-08 12:54:43 +02:00
ajout de linterface hermes + route
This commit is contained in:
parent
5615ead566
commit
572e949ce4
5 changed files with 60 additions and 1 deletions
|
|
@ -0,0 +1,24 @@
|
|||
[Unit]
|
||||
Description=Hermes Agent Web Dashboard
|
||||
After=hermes-agent.service
|
||||
Wants=hermes-agent.service
|
||||
|
||||
[Service]
|
||||
User={{ hermes_user }}
|
||||
Group={{ hermes_user }}
|
||||
|
||||
Environment=HOME={{ hermes_home }}
|
||||
Environment=HERMES_HOME={{ hermes_data_dir }}
|
||||
Environment=PATH={{ hermes_data_dir }}/node/bin:{{ hermes_data_dir }}/hermes-agent/venv/bin:/usr/local/bin:/usr/bin:/bin
|
||||
|
||||
ExecStart={{ hermes_home }}/.local/bin/hermes dashboard --no-open --tui --insecure --host {{ ansible_host }} --port {{ hermes_dashboard_port }}
|
||||
|
||||
Restart=on-failure
|
||||
RestartSec=10s
|
||||
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=hermes-dashboard
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue