docs: correct step order, prompt and title
This commit is contained in:
parent
bb2d1c061b
commit
3e77e91399
42
README.md
42
README.md
|
@ -11,13 +11,13 @@ Systemd unit files for use with the Minecraft Server and associated services
|
|||
- Backup the Minecraft server directory.
|
||||
- To an archive.
|
||||
- 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
|
||||
|
||||
- GNU Linux operating System
|
||||
- [Git](https://git-scm.com/)
|
||||
- [Wardenctl](https://gitlab.com/adouglas/wardenctl)
|
||||
- [Wardenctl](https://gitlab.com/adouglas/wardenctl) (optional if one replaces wardenctl commands)
|
||||
|
||||
# Installation
|
||||
|
||||
|
@ -38,7 +38,7 @@ proceeding character. In this case backslash character is not to to be entered
|
|||
at the CLI.
|
||||
- These instructions are an example of installation and configuration.
|
||||
|
||||
## On Linux - Manual
|
||||
## Manual
|
||||
|
||||
1. Change to your home directory.
|
||||
```console
|
||||
|
@ -52,25 +52,9 @@ at the CLI.
|
|||
```console
|
||||
$ cd minecraft-systemd-services
|
||||
```
|
||||
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.
|
||||
1. Copy Systemd unit files.
|
||||
```console
|
||||
$ chmod 644 minecraft-\*
|
||||
```
|
||||
1. Set file ownership and group.
|
||||
```console
|
||||
$ chown root:root minecraft-\*
|
||||
```
|
||||
1. Move Systemd unit files.
|
||||
```console
|
||||
# mv minecraft-\* /etc/systemd/system/
|
||||
# cp minecraft-* /etc/systemd/system/
|
||||
```
|
||||
```
|
||||
minecraft-backup.service
|
||||
|
@ -81,6 +65,22 @@ desired.
|
|||
minecraft-stats.timer
|
||||
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.
|
||||
```console
|
||||
# systemctl enable minecraft-paper.service
|
||||
|
|
Reference in New Issue