Skip to content

Commit

Permalink
[services] Autostart barrier
Browse files Browse the repository at this point in the history
Now that it has an option to hide on start
  • Loading branch information
MarcelRobitaille committed Nov 30, 2021
1 parent 557624c commit 72a7803
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openbox/config/autostart
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ systemctl --user start davmail &
# Bluetooth daemon
systemctl --user start blueman-applet &

# KVM
systemctl --user start barrier &

#
# Daemons
#
Expand Down
15 changes: 15 additions & 0 deletions systemd/barrier.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[Unit]
Description= Open-source KVM software
After=graphical.target
OnFailure=notify@%i.service

[Service]
Type=simple
ExecStart=/usr/bin/barrier

Restart=on-failure
RestartSec=30s
StartLimitBurst=3

[Install]
WantedBy=default.target

0 comments on commit 72a7803

Please sign in to comment.