From 4990f5c6c3c322c01c9d462280f726af6a7abf7c Mon Sep 17 00:00:00 2001 From: Matti Viljanen Date: Sun, 1 Jan 2023 01:45:19 +0200 Subject: [PATCH] Restart the permission service on update --- rpm/harbour-batterybuddy.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/rpm/harbour-batterybuddy.spec b/rpm/harbour-batterybuddy.spec index 8a67bef..d7a674c 100644 --- a/rpm/harbour-batterybuddy.spec +++ b/rpm/harbour-batterybuddy.spec @@ -92,6 +92,7 @@ rm -f %{_unitdir}/%{name}.service # Install/update permission daemon (root) systemctl daemon-reload systemctl enable %{name}-oneshot.service +systemctl stop %{name}-oneshot.service systemctl start %{name}-oneshot.service # Install/update background daemon (default user)