summarylogtreecommitdiffstats
path: root/server-restart.hook
blob: 12b607591e941e76152040722d1771377025fcb0 (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/$srvnamed restart
Depends = $srvname-server
Description = Restart the $srvname world.