docs: add recipes

This commit is contained in:
Robert Perce 2025-08-25 15:13:10 -05:00
parent 30a50585c1
commit 6d3532bc16
3 changed files with 43 additions and 2 deletions

View file

@ -0,0 +1,25 @@
# Minecraft admin
On the server (`./Taskfile ssh majcraft`),
## run server commands
```
echo say hello > /run/minecraft/majcraft.stdin
```
## view server output
```
journalctl -xeau minecraft-server-majcraft
```
## shutdown server
```
echo stop > /run/minecraft/majcraft.stdin
```
or
```
sudo systemctl stop minecraft-server-majcraft
```