moonraker icon indicating copy to clipboard operation
moonraker copied to clipboard

machine.shutdown function reboot system

Open Guilouz opened this issue 1 year ago • 5 comments

What happened

machine.shutdown function reboot system and not shutdown

Client

Mainsail

Browser

Chrome

How to reproduce

Just select Shutdown in Mainsail menu

Additional information

OS : Ubuntu 20.04 LTS

Already tried sudo_fix.sh without success.

Also allow user 'pi' to reboot and shutdown without password without success.

systemd-logind service is already enabled is my distrib.

shutdown -H now command correctly shutdown my system but it seem machine.shutdown doesn't load this command.

Machine.reboot working as expected.

Guilouz avatar Nov 10 '22 22:11 Guilouz