From 72a78039a8de3bdefb7b7450c7856b4ffc429b80 Mon Sep 17 00:00:00 2001 From: Marcel Robitaille Date: Mon, 15 Nov 2021 11:52:20 -0500 Subject: [PATCH] [services] Autostart barrier Now that it has an option to hide on start --- openbox/config/autostart | 3 +++ systemd/barrier.service | 15 +++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 systemd/barrier.service diff --git a/openbox/config/autostart b/openbox/config/autostart index 8a064a8..fae1210 100644 --- a/openbox/config/autostart +++ b/openbox/config/autostart @@ -54,6 +54,9 @@ systemctl --user start davmail & # Bluetooth daemon systemctl --user start blueman-applet & +# KVM +systemctl --user start barrier & + # # Daemons # diff --git a/systemd/barrier.service b/systemd/barrier.service new file mode 100644 index 0000000..b543433 --- /dev/null +++ b/systemd/barrier.service @@ -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