To prevent spillage, you can use water source blocks (i.e. right-click with a water bucket) on every water slot in every layer. You can then place a block directly beneath the water to keep it from pouring out. The turtle will pass under that block.
As for server reboot-type stuff, you can place the invocation of this in a file called "startup".
1. In the turtle CLI, type 'edit startup' and press enter
2. In the edit program enter the following:
shell.run("peat 20 20")
3. Save and exit
4. Type "reboot" to test
Note, however, my script does not persist the current location. So, if the server dies in the middle of execution, i.e. the turtle is out on the peat farm doing its thing - then the turtle will error out. You may find your turtle in the middle of the peat field following a server reboot if it was in the field during the reboot.
As for server reboot-type stuff, you can place the invocation of this in a file called "startup".
1. In the turtle CLI, type 'edit startup' and press enter
2. In the edit program enter the following:
shell.run("peat 20 20")
3. Save and exit
4. Type "reboot" to test
Note, however, my script does not persist the current location. So, if the server dies in the middle of execution, i.e. the turtle is out on the peat farm doing its thing - then the turtle will error out. You may find your turtle in the middle of the peat field following a server reboot if it was in the field during the reboot.