summarylogtreecommitdiffstats
path: root/server-restart.hook
blob: 2748f7d48a54b79d1f8f40ee2e0309a853e642cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Trigger]
Operation = Remove
Operation = Upgrade
Operation = Install

Type = Path
Target = srv/$srvname/mods/*

[Action]
When = PostTransaction
Exec = /usr/bin/systemctl restart $srvnamed
Depends = $srvname-server
Description = Restart the $srvname world.