Add more restart hooks for systemd services

This commit is contained in:
bwt
2023-01-25 00:36:30 -05:00
parent 21ccd036bd
commit b184cd5ee3
3 changed files with 37 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
# Reload systemd services on package upgrades
[Trigger]
Operation = Upgrade
Type = Package
Target = dnsmasq
[Action]
Description = Restarting dnsmasq service
Depends = systemd
When = PostTransaction
Exec = /etc/pacman.d/scripts/restart-hook dnsmasq.service
+12
View File
@@ -0,0 +1,12 @@
# Reload systemd services on package upgrades
[Trigger]
Operation = Upgrade
Type = Package
Target = rng-tools
[Action]
Description = Restarting rngd service
Depends = systemd
When = PostTransaction
Exec = /etc/pacman.d/scripts/restart-hook rngd.service
+12
View File
@@ -0,0 +1,12 @@
# Reload systemd services on package upgrades
[Trigger]
Operation = Upgrade
Type = Package
Target = wpa_supplicant
[Action]
Description = Restarting WPA Supplicant service
Depends = systemd
When = PostTransaction
Exec = /etc/pacman.d/scripts/restart-hook wpa_supplicant.service