Doc / Install / Run OmniEdge as a service

Run OmniEdge as a Service

OmniEdge can start automatically in your devices With the function run omniedge as a service, with the function of refresh token, you don't need to rejoin again, which is helpful for unattended devices.

Refresh token is available from version 0.2.3

Run OmniEdge as a Service
Run OmniEdge as a Service

Get virtual network ID

After login in omniedge, run the command omniedge join -f .omniedge/auth.json to get your virtual network ID.

omniedge join -f .omniedge/auth.json

INFO[0000] You are in mode: prod
INFO[2022-01-17T11:34:28] List Virtual Network response
Use the arrow keys to navigate: ↓ ↑ → ←  and / toggles search
choose the network
  🌶 Home

--------- Virtual Network ----------
Name:        Home
Role:        2
ID:          your_virtual_network_id

Create OmniEdge Service

Change the virtual network and your_auth_file_path and create omniedge.service

vi /etc/systemd/system/omniedge.service
Description=omniedge process

#Replace to your real virtual network id(can be found by run omniedge join) and auth.json path
ExecStart=/usr/local/bin/omniedge join -n "your_virtual_network_id" -f your_auth_file_path


Activate and start omniedge.service

systemctl daemon-reload
systemctl enable omniedge.service
systemctl start omniedge.service

If you have more questions, feel free to discuss.

On This Page


© 2022 OmniEdge Inc. All rights reserved

Built by a global remote team.
US | AU | CN | DE | MY | CA