Created
July 24, 2026 03:54
-
-
Save rdp77/bf228b4b2e61a9e1c7c78e6b73e186af to your computer and use it in GitHub Desktop.
Autostart Omniroute with Lerd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [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