purpur_updater/purpur_updater_config.yml

37 lines
1.1 KiB
YAML

# purpur_updater config
# Author: Willy
# How often do you want to run the updater in cron time?
# The default is every 1 minute '*/1 * * * *'.
cron_time: '*/1 * * * *'
# Minecraft version of the jar you want to update.
# Example: '1.20' '1.20.1'
version: '1.20.1'
# Restart the command or script for your server.
# Warning: If your restart command requires elevated privileges, you must run the script as root (sudo/doas python3 purpur_updater.py).
# Example: Systemd: 'sudo systemctl restart my-minecraft-server'
restart_command: 'systemctl restart my-minecraft-server'
# Filename that the jar will always be named after.
filename: 'purpur.jar'
# Unix file permissions.
# Change the permissions of the downloaded file.
# True/False (Leave False if on Windows.)
# Example: 777
file_permission: False
permission: 777
# Unix file ownership.
# Change the ownership of the downloaded file. Must be a vaild user:group.
# True/False (Leave False if on Windows.)
# Example: user
file_ownership: False
ownership: 'user'
ownership_group: 'user'
# Enable logging to "purpur_updater_log.txt" in the directory where the script is run.
# True/False
verbose: False