mirror of
https://github.com/runyanjake/olomana.git
synced 2025-10-04 21:27:29 -07:00
Update documentation, add cronjob for server restart.
This commit is contained in:
parent
6a33191daa
commit
cc98907560
10
README.md
10
README.md
@ -68,6 +68,14 @@ Try connecting to the public IP/via domain if DNS is set up already.
|
||||
|
||||
5. Clone this repo somewhere.
|
||||
|
||||
6. Set system time using `timedatectl`, in case we want to set up any cron jobs later.
|
||||
|
||||
List current time: `timedatectl`
|
||||
|
||||
Get time zone options: `timedatectl list-timezones`
|
||||
|
||||
Set local timezone: `sudo timedatectl set-timezone America/Los_Angeles`
|
||||
|
||||
|
||||
## Part 2: Services Configuration
|
||||
|
||||
@ -193,6 +201,8 @@ SinglePlayerSleep: `https://www.spigotmc.org/resources/singleplayersleep.68139/`
|
||||
DynMap: `https://www.spigotmc.org/resources/dynmap%C2%AE.274/`
|
||||
NoEndermanGrief: `https://www.spigotmc.org/resources/no-enderman-grief2.71236/`
|
||||
|
||||
The minecraft server seems to run into instability from time to time. Thus, I configured a cronjob to restart the server at 2am daily, using crontab.
|
||||
|
||||
### NordVPN
|
||||
|
||||
Uses the open source https://github.com/bubuntux/nordvpn to create a NordVPN container that other containers can route traffic through.
|
||||
|
@ -30,4 +30,13 @@ NoEndermanGrief: `https://www.spigotmc.org/resources/no-enderman-grief2.71236/`
|
||||
|
||||
ajLeaderboards: `https://www.spigotmc.org/threads/ajleaderboards.471179/`
|
||||
|
||||
##### Periodic Restarts
|
||||
|
||||
The minecraft server runs into instability from time to time. Thus, it needs to be restarted every once and a while.
|
||||
|
||||
Since people play late, I chose to update at 2am PST.
|
||||
|
||||
`sudo crontab -e`
|
||||
|
||||
add `0 2 * * * docker restart minecraft-2023 minecraft-creative`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user