scx/libalpm/systemd/90-scx-scheds-upgrade.hook
Piotr Gorski 1fbf4f4f9b
Add pacman hooks for systemd
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
2024-05-13 15:52:06 +02:00

20 lines
409 B
Plaintext

[Trigger]
Type = Path
Operation = Upgrade
Target = etc/default/scx
Target = etc/systemd/journald@sched-ext.conf
Target = usr/bin/scx_*
Target = usr/lib/systemd/system/scx.service
[Trigger]
Type = Package
Operation = Upgrade
Target = scx-scheds
Target = scx-scheds-git
[Action]
Description = Checking scx_scheduler...
When = PostTransaction
Exec = /usr/share/libalpm/scripts/scx-systemd-restart
NeedsTargets