fix minecraft server backup
This commit is contained in:
parent
495ea8491b
commit
de131d8e80
@ -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 = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user