Typo in README.md

This commit is contained in:
Rainer 2025-06-23 01:49:52 +02:00
parent 77a9e1fb44
commit 33f64cc57d

View file

@ -50,12 +50,12 @@ OR
Clone the Git repository to a base directory. Clone the Git repository to a base directory.
-```bash ```bash
git clone [https://git.geigernet.eu/rainer/luanti-web.git](https://git.geigernet.eu/rainer/luanti-web.git) /opt/luweb git clone [https://git.geigernet.eu/rainer/luanti-web.git](https://git.geigernet.eu/rainer/luanti-web.git) /opt/luweb
cd /opt/luweb cd /opt/luweb
# Make all scripts executable # Make all scripts executable
chmod +x generate_map.sh generate_site.sh check_server_status.sh check_dependencies.sh sync_players.sh sync_areas.sh chmod +x generate_map.sh generate_site.sh check_server_status.sh check_dependencies.sh sync_players.sh sync_areas.sh
-``` ```
### 2. Global Configuration ### 2. Global Configuration
@ -67,7 +67,7 @@ The system is designed so that **only worlds with a `web.conf` file** will be di
## 📂 Directory Structure ## 📂 Directory Structure
-```md ```md
/opt/luweb/ /opt/luweb/
├── config.sh ├── config.sh
├── generate_map.sh ├── generate_map.sh
@ -88,13 +88,13 @@ The system is designed so that **only worlds with a `web.conf` file** will be di
└── <world_name>/ └── <world_name>/
├── map.png ├── map.png
└── map_info.txt └── map_info.txt
-``` ```
## 🚀 Usage & Automation (Cronjob) ## 🚀 Usage & Automation (Cronjob)
The scripts are designed for automated execution. Set them up using `crontab -e`. The scripts are designed for automated execution. Set them up using `crontab -e`.
-```bash ```bash
# (Frequently) Update player and server status # (Frequently) Update player and server status
* * * * * cd /opt/luweb && ./sync_players.sh >> /var/log/luweb/cron.log 2>&1 * * * * * cd /opt/luweb && ./sync_players.sh >> /var/log/luweb/cron.log 2>&1
*/5 * * * * cd /opt/luweb && ./check_server_status.sh >> /var/log/luweb/cron.log 2>&1 */5 * * * * cd /opt/luweb && ./check_server_status.sh >> /var/log/luweb/cron.log 2>&1
@ -105,7 +105,7 @@ The scripts are designed for automated execution. Set them up using `crontab -e`
# (Infrequently) Sync area data and rebuild the static site # (Infrequently) Sync area data and rebuild the static site
45 */12 * * * cd /opt/luweb && ./sync_areas.sh >> /var/log/luweb/cron.log 2>&1 45 */12 * * * cd /opt/luweb && ./sync_areas.sh >> /var/log/luweb/cron.log 2>&1
30 */12 * * * cd /opt/luweb && ./generate_site.sh >> /var/log/luweb/cron.log 2>&1 30 */12 * * * cd /opt/luweb && ./generate_site.sh >> /var/log/luweb/cron.log 2>&1
-``` ```
## 📄 License ## 📄 License
**MIT License** **MIT License**