Skip to content

Comment on Writing systemd units that stop gracefully before shutdownparent

Comments

For systems that hang or take intolerably long to shutdown, I typically do:

     systemctl --force [poweroff|reboot]
From the man page, this means that "shutdown of all running services is skipped, however all processes are killed and all file systems are unmounted or mounted read-only, immediately followed by the powering off."
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.