Skip to content

Instantly share code, notes, and snippets.

@weskerfoot
Last active December 29, 2024 22:24
Show Gist options
  • Save weskerfoot/c624670f3d46def1609553ead28bbf78 to your computer and use it in GitHub Desktop.
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
[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
@ZeekDaGeek
Copy link

By default SSL is now enabled, I had to add --disable-crypto to get this to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment