summarylogtreecommitdiffstats
path: root/server-mods.hook
blob: 5a48d1a101a605ccd9d3800db5ccff8635c64d03 (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 = PreTransaction
Exec = /usr/bin/$srvnamed backup
Depends = $srvname-server
Description = Backing up the $srvname world.