diff options
author | Dominik Opyd | 2022-07-25 20:15:06 +0200 |
---|---|---|
committer | Dominik Opyd | 2022-07-25 20:15:06 +0200 |
commit | d5690033b673de96a24376c79dfe776600816d37 (patch) | |
tree | 25f0554bc83b9bde83281a1876fb117215937f42 /server-restart.hook | |
parent | 94dc3f63f5cb2c0651c7c22e4daae3b13433e262 (diff) | |
download | aur-minecraft-hooks.tar.gz |
systemd restart instead binary
Diffstat (limited to 'server-restart.hook')
-rw-r--r-- | server-restart.hook | 2 |
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. |