Skip to content

Instantly share code, notes, and snippets.

@rdp77
Created July 24, 2026 03:54
Show Gist options
  • Select an option

  • Save rdp77/bf228b4b2e61a9e1c7c78e6b73e186af to your computer and use it in GitHub Desktop.

Select an option

Save rdp77/bf228b4b2e61a9e1c7c78e6b73e186af to your computer and use it in GitHub Desktop.
Autostart Omniroute with Lerd
[Unit]
Description=OmniRoute Service (Tray Mode)
After=graphical-session.target
PartOf=graphical-session.target
[Service]
Type=simple
Environment=PATH=/home/{user}/.local/share/lerd/bin:/home/{user}/.local/share/lerd/node-global/bin:/usr/bin:/bin
Environment=DISPLAY=:0
Environment=XDG_RUNTIME_DIR=%t
ExecStart=/home/{user}/.local/share/lerd/node-global/bin/omniroute serve --tray --no-open
Restart=on-failure
RestartSec=5
[Install]
WantedBy=graphical-session.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment