diff options
author | Gordian Edenhofer | 2021-12-09 23:22:54 +0100 |
---|---|---|
committer | Gordian Edenhofer | 2021-12-09 23:23:34 +0100 |
commit | e757c4d3dc09427b6494261ae3420d692b87ac85 (patch) | |
tree | d95cb15dd08a47d16ef7fda676c8e20cab8d0f99 /papermc.sh | |
parent | 516b17fb692cd1343f6871abcfa1b4b305f79250 (diff) | |
download | aur-e757c4d3dc09427b6494261ae3420d692b87ac85.tar.gz |
upgpkg: papermc 1.18+b65-1
Add a small delay to taking backups as for the sever to finish
triggering it.
Diffstat (limited to 'papermc.sh')
-rwxr-xr-x | papermc.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/papermc.sh b/papermc.sh index db2ee09f912c..703e8680cd7e 100755 --- a/papermc.sh +++ b/papermc.sh @@ -344,6 +344,7 @@ backup_files() { if socket_has_session "${SESSION_NAME}"; then game_command save-off game_command save-all + sleep "${sleep_time:-0.3}" sync && wait ${SUDO_CMD} tar -C "${SERVER_ROOT}" -cf "${BACKUP_DEST}/${fname}" ${BACKUP_PATHS} --totals ${BACKUP_FLAGS} 2>&1 | grep -v "tar: Removing leading " game_command save-on |