summarylogtreecommitdiffstats
path: root/server-restart.hook
diff options
context:
space:
mode:
Diffstat (limited to 'server-restart.hook')
-rw-r--r--server-restart.hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-restart.hook b/server-restart.hook
index 12b607591e94..2748f7d48a54 100644
--- a/server-restart.hook
+++ b/server-restart.hook
@@ -8,6 +8,6 @@ Target = srv/$srvname/mods/*
[Action]
When = PostTransaction
-Exec = /usr/bin/$srvnamed restart
+Exec = /usr/bin/systemctl restart $srvnamed
Depends = $srvname-server
Description = Restart the $srvname world.