Last active
December 29, 2024 22:24
-
-
Save weskerfoot/c624670f3d46def1609553ead28bbf78 to your computer and use it in GitHub Desktop.
Systemd unit file to manage starting barrier through flatpak, with the correct options
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=Barrier | |
After=graphical.target | |
StartLimitIntervalSec=400 | |
StartLimitBurst=3 | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/flatpak run -p --command="barrierc" com.github.debauchee.barrier --no-restart --no-tray --no-daemon --debug INFO --name steamdeck 192.168.0.221 | |
Restart=always | |
RestartSec=20 | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By default SSL is now enabled, I had to add --disable-crypto to get this to work