Run OmniEdge as a Service

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
Cidr: 100.100.0.0/24
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#/etc/systemd/system/omniedge.service
[Unit]
Description=omniedge process
After=network-online.target syslog.target nfw.target
Wants=network-online.target

[Service]
Type=simple
ExecStartPre=
#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
Restart=on-abnormal
RestartSec=5

[Install]
WantedBy=multi-user.target
Alias=

Activate and start omniedge.service

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

If you have more questions, feel free to contact us.

Originally published at https://omniedge.io.

--

--

--

Bring intranet on the internet.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to Decode the Kubernetes Secrets?

Run Jupyter Lab in Anaconda

Cloud Migration Checklist: Simple steps to start your migration today

How docker make my database a briefcase ?

The Power of Demos

Parallel processing in PowerShell

Kubernetes Clinic Spotlight on Tabitha Sable: Helping People Level Up

How to Peel Mainframe Monoliths for AWS Microservices with Blu Age

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
OmniEdge

OmniEdge

Bring intranet on the internet.

More from Medium

Buffer Errors [CWE-119] — The Hacktivists

How to Back up Cisco Switch Router Automatically to FTP Server — ICT Fella

Unity 2021 Object Pooling — Part II

How to Manage Citrix and VMware Environments that End-Users Love to Use