Add restart_docker hook
This commit is contained in:
parent
04ec506c47
commit
e63f6f2d3c
13
restart_docker.hook
Normal file
13
restart_docker.hook
Normal file
@ -0,0 +1,13 @@
|
||||
# Reload systemd services on package upgrades
|
||||
|
||||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Type = Package
|
||||
Target = docker
|
||||
|
||||
[Action]
|
||||
Description = Restarting Docker socket
|
||||
Depends = systemd
|
||||
When = PostTransaction
|
||||
Exec = /etc/pacman.d/scripts/restart-hook docker.socket
|
||||
|
Loading…
x
Reference in New Issue
Block a user