diff options
Diffstat (limited to 'script/method/exit.lua')
-rw-r--r-- | script/method/exit.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/method/exit.lua b/script/method/exit.lua new file mode 100644 index 00000000..fa550243 --- /dev/null +++ b/script/method/exit.lua @@ -0,0 +1,4 @@ +return function () + log.info('Server exited.') + os.exit(true) +end |