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