diff --git a/content/tutorials/others/simple-minecraft-server.md b/content/tutorials/others/simple-minecraft-server.md index 5f6d507..078dad2 100644 --- a/content/tutorials/others/simple-minecraft-server.md +++ b/content/tutorials/others/simple-minecraft-server.md @@ -104,6 +104,7 @@ and paste the following into it, replacing both instances of `CRSID` with your C ```ini [Unit] Description=Minecraft Server +ConditionHost=doom After=network.target [Service] @@ -135,6 +136,9 @@ systemctl --user stop mcserver.service systemctl --user status mcserver.service ``` +To learn more about running systemd services with the SRCF see +[here](https://docs.srcf.net/reference/shell-and-files/scheduled-tasks/#systemd). + Now that the setup is finished you can log out of doom.srcf.net using `logout`. {{ < alert type="warning" > }}