Add more restart hooks for systemd services
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user