I'm running OctoPi on a Raspberry Pi 3B+. I installed using the instructions at OctoPrint.org - Download & Setup OctoPrint.
When I try to shut it down, it immediately restarts -- doesn't matter whether I use the Octoprint menu or shutdown -h now from sudo.
At first I thought it was maybe configured to restart on lan access, so I always power off my printer (Prusa i3 MK3), log out of Octoprint, close the Octoprint browser tab, ssh to the pi and shutdown from the command line. The green light flashes for a while, then goes dark. After a minute or so, the red light goes dark for a split second. Then it reboots.
What do I need to change to make it shut down properly?