docs: correct step order, prompt and title
This commit is contained in:
parent
bb2d1c061b
commit
3e77e91399
36
README.md
36
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,6 +52,19 @@ at the CLI.
|
|||
```console
|
||||
$ cd minecraft-systemd-services
|
||||
```
|
||||
1. Copy Systemd unit files.
|
||||
```console
|
||||
# cp minecraft-* /etc/systemd/system/
|
||||
```
|
||||
```
|
||||
minecraft-backup.service
|
||||
minecraft-backup.timer
|
||||
minecraft-paper.service
|
||||
minecraft-spigot.service
|
||||
minecraft-stats.service
|
||||
minecraft-stats.timer
|
||||
minecraft-vanilla.service
|
||||
```
|
||||
1. Edit each applicable unit file(s).
|
||||
- Ensure paths are correct (ReadWriteDirectories, WorkingDirectory, ExecStart,
|
||||
ExecStop).
|
||||
|
@ -62,24 +75,11 @@ desired.
|
|||
```
|
||||
1. Set file permissions.
|
||||
```console
|
||||
$ chmod 644 minecraft-\*
|
||||
# chmod 644 /etc/systemd/system/minecraft-*
|
||||
```
|
||||
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.timer
|
||||
minecraft-paper.service
|
||||
minecraft-spigot.service
|
||||
minecraft-stats.service
|
||||
minecraft-stats.timer
|
||||
minecraft-vanilla.service
|
||||
# chown root:root /etc/systemd/system/minecraft-*
|
||||
```
|
||||
1. Enable services.
|
||||
```console
|
||||
|
|
Reference in New Issue