docs: correct step order, prompt and title

This commit is contained in:
Adam Douglas 2020-02-07 21:14:18 -06:00
parent bb2d1c061b
commit 3e77e91399
1 changed files with 21 additions and 21 deletions

View File

@ -11,13 +11,13 @@ Systemd unit files for use with the Minecraft Server and associated services
- Backup the Minecraft server directory. - Backup the Minecraft server directory.
- To an archive. - To an archive.
- Sync to a desired destination. - Sync to a desired destination.
- Keep [MinecraftStats](https://github.com/pdinklag/MinecraftStats) data synced. - Sync Minecraft stats data to [MinecraftStats](https://github.com/pdinklag/MinecraftStats).
# System Requirements # System Requirements
- GNU Linux operating System - GNU Linux operating System
- [Git](https://git-scm.com/) - [Git](https://git-scm.com/)
- [Wardenctl](https://gitlab.com/adouglas/wardenctl) - [Wardenctl](https://gitlab.com/adouglas/wardenctl) (optional if one replaces wardenctl commands)
# Installation # Installation
@ -38,7 +38,7 @@ proceeding character. In this case backslash character is not to to be entered
at the CLI. at the CLI.
- These instructions are an example of installation and configuration. - These instructions are an example of installation and configuration.
## On Linux - Manual ## Manual
1. Change to your home directory. 1. Change to your home directory.
```console ```console
@ -52,25 +52,9 @@ at the CLI.
```console ```console
$ cd minecraft-systemd-services $ cd minecraft-systemd-services
``` ```
1. Edit each applicable unit file(s). 1. Copy Systemd unit files.
- Ensure paths are correct (ReadWriteDirectories, WorkingDirectory, ExecStart,
ExecStop).
- Ensure timers property "OnUnitActiveSec" (backup interval) is set as
desired.
```console
$ nano minecraft-backup.service
```
1. Set file permissions.
```console ```console
$ chmod 644 minecraft-\* # cp minecraft-* /etc/systemd/system/
```
1. Set file ownership and group.
```console
$ chown root:root minecraft-\*
```
1. Move Systemd unit files.
```console
# mv minecraft-\* /etc/systemd/system/
``` ```
``` ```
minecraft-backup.service minecraft-backup.service
@ -81,6 +65,22 @@ desired.
minecraft-stats.timer minecraft-stats.timer
minecraft-vanilla.service minecraft-vanilla.service
``` ```
1. Edit each applicable unit file(s).
- Ensure paths are correct (ReadWriteDirectories, WorkingDirectory, ExecStart,
ExecStop).
- Ensure timers property "OnUnitActiveSec" (backup interval) is set as
desired.
```console
$ nano minecraft-backup.service
```
1. Set file permissions.
```console
# chmod 644 /etc/systemd/system/minecraft-*
```
1. Set file ownership and group.
```console
# chown root:root /etc/systemd/system/minecraft-*
```
1. Enable services. 1. Enable services.
```console ```console
# systemctl enable minecraft-paper.service # systemctl enable minecraft-paper.service