From fc198700f0454d5f145de19bb4da31ad46feffe8 Mon Sep 17 00:00:00 2001 From: KamiCreed <9517086+KamiCreed@users.noreply.github.com> Date: Sun, 29 Mar 2020 04:45:46 -0700 Subject: Change backups to only when a player is online Also, adds a fallback daily forced backup and error handling to prevent concurrent backup. --- daily-mc-backup.timer | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 daily-mc-backup.timer (limited to 'daily-mc-backup.timer') diff --git a/daily-mc-backup.timer b/daily-mc-backup.timer new file mode 100644 index 0000000..eef3832 --- /dev/null +++ b/daily-mc-backup.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Force Backup Minecraft Server Daily + +[Timer] +OnCalendar=daily +Unit=mc-fbackup.service + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3