You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
253 B
13 lines
253 B
2 years ago
|
# Reload systemd services on package upgrades
|
||
|
|
||
|
[Trigger]
|
||
|
Operation = Upgrade
|
||
|
Type = Package
|
||
|
Target = nginx
|
||
|
|
||
|
[Action]
|
||
|
Description = Restarting NGINX service
|
||
|
Depends = systemd
|
||
|
When = PostTransaction
|
||
|
Exec = /etc/pacman.d/scripts/restart-hook nginx.service
|