Skip to content

Commit dfaed5f

Browse files
authored
fix: handle various problems with bazaar service (#113)
* fix: handle various problems with bazaar service Should fix cases where Bazaar was too slow to startup and had to be killed in order to be used: Fixes: - bazaar-org/bazaar#1005 - ublue-os/bluefin-lts#928 Maybe even: - ublue-os/aurora#1523 * don't need this * fix: silence output of flatpak info
1 parent 624d99d commit dfaed5f

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

system_files/shared/usr/lib/systemd/user/bazaar.service

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
[Unit]
2-
Description=Bazaar background service
2+
Description=Bazaar background service for shell search results
33
Documentation=https://github.com/kolunmi/bazaar
44
After=graphical-session.target
5-
StartLimitBurst=10
5+
Requires=dbus.service
6+
StartLimitBurst=3
67

78
[Service]
89
Type=oneshot
910
RemainAfterExit=yes
10-
ExecStart=flatpak run --command=bazaar io.github.kolunmi.Bazaar --no-window
11+
ExecCondition=/bin/sh -c '/usr/bin/flatpak info io.github.kolunmi.Bazaar > /dev/null 2>&1'
12+
ExecStart=/usr/bin/flatpak run --command=bazaar io.github.kolunmi.Bazaar --no-window
1113
StandardOutput=journal
1214

1315
[Install]

0 commit comments

Comments
 (0)