Add yet even more restart hooks for systemd

master
Brainwrecked Tech 2 years ago
parent 8c03621262
commit 04ec506c47

@ -0,0 +1,13 @@
# Reload systemd services on package upgrades
[Trigger]
Operation = Upgrade
Type = Package
Target = acpid
[Action]
Description = Restarting ACPI daemon service
Depends = systemd
When = PostTransaction
Exec = /etc/pacman.d/scripts/restart-hook acpid.service

@ -0,0 +1,13 @@
# Reload systemd services on package upgrades
[Trigger]
Operation = Upgrade
Type = Package
Target = cpupower
[Action]
Description = Restarting CPU Power service
Depends = systemd
When = PostTransaction
Exec = /etc/pacman.d/scripts/restart-hook cpupower.service

@ -0,0 +1,13 @@
# Reload systemd services on package upgrades
[Trigger]
Operation = Upgrade
Type = Package
Target = hddtemp
[Action]
Description = Restarting HDD Temperature service
Depends = systemd
When = PostTransaction
Exec = /etc/pacman.d/scripts/restart-hook hddtemp.service

@ -0,0 +1,12 @@
# Reload systemd services on package upgrades
[Trigger]
Operation = Upgrade
Type = Package
Target = libvirtd
[Action]
Description = Restarting libvirtd sockets
Depends = systemd
When = PostTransaction
Exec = /etc/pacman.d/scripts/restart-hook libvirtd-admin.socket libvirtd-ro.socket libvirtd.socket virtlockd.socket virtlogd-admin.socket virtlogd.socket

@ -0,0 +1,13 @@
# Reload systemd services on package upgrades
[Trigger]
Operation = Upgrade
Type = Package
Target = lm_sensors
[Action]
Description = Restarting Linux Monitoring Sensors service
Depends = systemd
When = PostTransaction
Exec = /etc/pacman.d/scripts/restart-hook lm_sensors.service sensord.service

@ -0,0 +1,13 @@
# Reload systemd services on package upgrades
[Trigger]
Operation = Upgrade
Type = Package
Target = minidlna
[Action]
Description = Restarting MiniDLNA service
Depends = systemd
When = PostTransaction
Exec = /etc/pacman.d/scripts/restart-hook minidlna.service

@ -0,0 +1,13 @@
# Reload systemd services on package upgrades
[Trigger]
Operation = Upgrade
Type = Package
Target = smartmontools
[Action]
Description = Restarting SMART Monitoring daemon service
Depends = systemd
When = PostTransaction
Exec = /etc/pacman.d/scripts/restart-hook smartd.service

@ -0,0 +1,12 @@
# Reload systemd services on package upgrades
[Trigger]
Operation = Upgrade
Type = Package
Target = udisks2
[Action]
Description = Restarting udisks2 service
Depends = systemd
When = PostTransaction
Exec = /etc/pacman.d/scripts/restart-hook udisks2.service
Loading…
Cancel
Save