Add more restart hooks for systemd services

master
Brainwrecked Tech 2 years ago
parent 21ccd036bd
commit b184cd5ee3

@ -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

@ -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

@ -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
Loading…
Cancel
Save