From 69d5f3b3c120556f5ee472e9ae709afc03762692 Mon Sep 17 00:00:00 2001 From: eSh Date: Sun, 18 Sep 2022 15:28:39 +0200 Subject: [PATCH] use global level to change timer statuses --- fixes-package.install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fixes-package.install b/fixes-package.install index 3eb02a4..57f0586 100644 --- a/fixes-package.install +++ b/fixes-package.install @@ -1,9 +1,9 @@ post_install() { - find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --user enable - find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --user start + find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global enable + find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global start } post_upgrade() { - find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --user enable - find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --user restart + find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global enable + find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global restart }