Stop stuffing routine messages into the server
This commit is contained in:
parent
779c177447
commit
e252d5addd
@ -41,10 +41,8 @@ find "$OUTDIR" -type f -mtime +1 -iname "backup-*.tar.gz" -delete
|
||||
# WE MAKE BACKUP NOW SERGEI
|
||||
if cd "$OUTDIR"; then
|
||||
log "Initiating world backup"
|
||||
stuff "Initiating world backup"
|
||||
tar czhf "$OUTDIR/backup-$(date -Iseconds).tar.gz" "$MCDIR"/world*
|
||||
log "World backup complete"
|
||||
stuff "World backup complete"
|
||||
else
|
||||
log "Could not change directory: $OUTDIR"
|
||||
stuff "World backup failed: see log for details"
|
||||
|
Loading…
Reference in New Issue
Block a user