diff options
author | Dominik Opyd | 2022-07-25 18:57:06 +0200 |
---|---|---|
committer | Dominik Opyd | 2022-07-25 18:57:06 +0200 |
commit | 94dc3f63f5cb2c0651c7c22e4daae3b13433e262 (patch) | |
tree | da92ca0de55837e0f4fa12ec35ebe5e2bd044fd9 /server-restart.hook | |
download | aur-94dc3f63f5cb2c0651c7c22e4daae3b13433e262.tar.gz |
first release
Diffstat (limited to 'server-restart.hook')
-rw-r--r-- | server-restart.hook | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/server-restart.hook b/server-restart.hook new file mode 100644 index 000000000000..12b607591e94 --- /dev/null +++ b/server-restart.hook @@ -0,0 +1,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. |