https://github.com/chipwolf/heph-mc-service
Heph's MC server management service
https://github.com/chipwolf/heph-mc-service
crontab daemon linux minecraft minecraft-server-wrapper service
Last synced: 6 months ago
JSON representation
Heph's MC server management service
- Host: GitHub
- URL: https://github.com/chipwolf/heph-mc-service
- Owner: ChipWolf
- Created: 2016-05-18T13:59:11.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:15:59.000Z (over 2 years ago)
- Last Synced: 2024-12-28T02:48:20.515Z (over 1 year ago)
- Topics: crontab, daemon, linux, minecraft, minecraft-server-wrapper, service
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Heph's Minecraft Service
## Assumptions
- No Java options are required _(there is a VAR for them in [srvctrl](home/minecraft/srvctrl.sh) if needed)_
- `JAVA_HOME` is located in `/usr/bin/java` _(there is also a VAR to change the path to your Java installation)_
- `rdiff-backup` and `screen` are installed as prerequisites
## Instructions
- Maintain the directory structure _(unless `VARS` in [srvctrl](home/minecraft/srvctrl.sh) are edited accordingly)_
- Copy lines from [crontab](crontab) to the crontab for user `minecraft` _(if this user does not yet exist, use the following command to create it)
```bash
sudo useradd -m -d /home/minecraft minecraft
```
## Notes
- [home/minecraft/backup](home/minecraft/backup) is the directory for the backup function
- [home/minecrafy/crashdb](home/minecraft/crashdb) is the directory where crash reports are dumped
- [home/minecraft/minecraft](home/minecraft/minecraft) is where server files should be placed