diff options
| author | Luke Hoersten <[email protected]> | 2026-07-26 10:36:29 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-07-26 10:36:29 -0500 |
| commit | 38323823b85b2ae8deef788a0f49e36c789c12f4 (patch) | |
| tree | 94a3227a737ba0198dd06d3b7e001f219fe32bdc /openhop/repeater/templates/openhop-repeater.service.j2 | |
| parent | 1aaf4479d72edbd0c716d2e9122a7b613626bf12 (diff) | |
openhop/repeater: add MeshCore repeater role
Deploys the openHop MeshCore repeater on a Raspberry Pi with a RAK6421
WisMesh Pi HAT: installs the daemon into a venv from a versioned git tag,
templates config.yaml and a systemd unit, and loads board pin maps and RF
region presets by name from vars/. identity_file is configurable and
defaults to null (daemon generates its own keypair).
Diffstat (limited to 'openhop/repeater/templates/openhop-repeater.service.j2')
| -rw-r--r-- | openhop/repeater/templates/openhop-repeater.service.j2 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/openhop/repeater/templates/openhop-repeater.service.j2 b/openhop/repeater/templates/openhop-repeater.service.j2 new file mode 100644 index 0000000..53aa737 --- /dev/null +++ b/openhop/repeater/templates/openhop-repeater.service.j2 @@ -0,0 +1,18 @@ +[Unit] +Description=openHop MeshCore Repeater +After=network-online.target +Wants=network-online.target + +[Service] +Type=simple +User={{repeater_user}} +Group={{repeater_user}} +WorkingDirectory={{repeater_data_dir}} +ExecStart={{repeater_venv_dir}}/bin/python -m repeater.main --config {{repeater_config_dir}}/config.yaml +Restart=always +RestartSec=5 +StandardOutput=journal +StandardError=journal + +[Install] +WantedBy=multi-user.target |
