fix minecraft server backup

This commit is contained in:
Dmitriy Kholkin 2023-07-30 03:31:12 +03:00
parent 495ea8491b
commit de131d8e80

View File

@ -74,7 +74,7 @@ in {
echo "Minecraft server is not active. Skipping restic backup." echo "Minecraft server is not active. Skipping restic backup."
exit 1 exit 1
fi fi
${pkgs.mcrcon}/bin/mcrcon "say Restic backup is started!" save-off "save-all flush" ${pkgs.mcrcon}/bin/mcrcon "say Restic backup is started!" save-off "save-all"
sleep 3 sleep 3
''; '';
backupCleanupCommand = '' backupCleanupCommand = ''