Skip to content

Instantly share code, notes, and snippets.

@weskerfoot
Last active September 27, 2022 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment