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. | - 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,6 +52,19 @@ at the CLI. | ||||||
|    ```console |    ```console | ||||||
|    $ cd minecraft-systemd-services |    $ 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). | 1. Edit each applicable unit file(s). | ||||||
|    - Ensure paths are correct (ReadWriteDirectories, WorkingDirectory, ExecStart, |    - Ensure paths are correct (ReadWriteDirectories, WorkingDirectory, ExecStart, | ||||||
| ExecStop). | ExecStop). | ||||||
|  | @ -62,24 +75,11 @@ desired. | ||||||
|    ``` |    ``` | ||||||
| 1. Set file permissions. | 1. Set file permissions. | ||||||
|    ```console |    ```console | ||||||
|    $ chmod 644 minecraft-\* |    # chmod 644 /etc/systemd/system/minecraft-* | ||||||
|    ``` |    ``` | ||||||
| 1. Set file ownership and group. | 1. Set file ownership and group. | ||||||
|    ```console |    ```console | ||||||
|    $ chown root:root minecraft-\* |    # chown root:root /etc/systemd/system/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 |  | ||||||
|    ``` |    ``` | ||||||
| 1. Enable services. | 1. Enable services. | ||||||
|    ```console |    ```console | ||||||
|  |  | ||||||
		Reference in New Issue