From 14722f3357cd1ed79ed0b8a291a6e3e1a533342e Mon Sep 17 00:00:00 2001 From: zleyyij Date: Sun, 23 Jul 2023 09:16:03 -0600 Subject: [PATCH] vault backup: 2023-07-23 09:16:03 --- Setting up a Minecraft server.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Setting up a Minecraft server.md b/Setting up a Minecraft server.md index 6c3c7ab..d1f7e3a 100644 --- a/Setting up a Minecraft server.md +++ b/Setting up a Minecraft server.md @@ -92,7 +92,12 @@ Then run `sudo sytemctl enable minecraft.service` to have the server start up wh ``` # start the server sudo systemctl start minecraft.service -# resta +# restart the server +sudo systemctl restart minecraft.service +# check the top few logs and whether or not the service is running +sudo systemctl status minecraft.service +# watch the logs (f for follow ou, u for unit) +sudo journalctl -f -u minecraft.service ``` // TODO: https://unix.stackexchange.com/questions/612137/how-to-write-to-stdin-of-a-service