Code: Select all
# systemctl poweroff
Failed to power off system via logind: Unit systemd-poweroff.service has a bad unit file setting.
Failed to start poweroff.target: Unit systemd-poweroff.service has a bad unit file setting.
See system logs and 'systemctl status poweroff.target' for details.
Code: Select all
#journalctl -r
systemd[1]: systemd-poweroff.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
Code: Select all
[Service]
ExecStart=/usr/bin/sleep 0

