Skip to content

Commit

Permalink
Added missing ConditionHost and link to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
brychanthomas authored and rsa33 committed Nov 2, 2022
1 parent 3e43832 commit 7b0bb05
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/tutorials/others/simple-minecraft-server.md
Expand Up @@ -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]
Expand Down Expand Up @@ -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" > }}
Expand Down

0 comments on commit 7b0bb05

Please sign in to comment.