diff --git a/restart_acpid.hook b/restart_acpid.hook new file mode 100644 index 0000000..d31f72b --- /dev/null +++ b/restart_acpid.hook @@ -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 + diff --git a/restart_cpupower.hook b/restart_cpupower.hook new file mode 100644 index 0000000..95fa46f --- /dev/null +++ b/restart_cpupower.hook @@ -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 + diff --git a/restart_hddtemp.hook b/restart_hddtemp.hook new file mode 100644 index 0000000..23c874e --- /dev/null +++ b/restart_hddtemp.hook @@ -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 + diff --git a/restart_libvirtd.hook b/restart_libvirtd.hook new file mode 100644 index 0000000..85cdeb1 --- /dev/null +++ b/restart_libvirtd.hook @@ -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 diff --git a/restart_lm_sensors.hook b/restart_lm_sensors.hook new file mode 100644 index 0000000..90685e4 --- /dev/null +++ b/restart_lm_sensors.hook @@ -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 + diff --git a/restart_minidlna.hook b/restart_minidlna.hook new file mode 100644 index 0000000..8726fe5 --- /dev/null +++ b/restart_minidlna.hook @@ -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 + diff --git a/restart_smartd.hook b/restart_smartd.hook new file mode 100644 index 0000000..09f1c89 --- /dev/null +++ b/restart_smartd.hook @@ -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 + diff --git a/restart_udisks2.hook b/restart_udisks2.hook new file mode 100644 index 0000000..7662cba --- /dev/null +++ b/restart_udisks2.hook @@ -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