Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #194221
| From | Don Armstrong <don@debian.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to shut down |
| Date | 2018-03-27 19:10 +0200 |
| Message-ID | <vy0gF-7dE-5@gated-at.bofh.it> (permalink) |
| References | <vxWZr-4MA-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 27 Mar 2018, solitone wrote: > What's the current best practice to shut down the system? In the old > days I used to: > # shutdown - h now > > but then I read of the systemd way: > # systemctl poweroff > > However, with the latter the system does shut down, although the > machine does not power off (I have to physically press the off > button). While with the former it actually powers off. You can use either. `shutdown -h now` on a machine with systemd actually invokes systemctl with the equivalent of systemctl poweroff[1]. If your machine isn't actually powering off, usually that indicates that one or more units isn't finishing properly. The output of journalctl will tell you what is going on in such a case. 1: https://github.com/systemd/systemd/blob/master/src/systemctl/systemctl.c#L7900 -- Don Armstrong https://www.donarmstrong.com [C]haos is found in greatest abundance wherever order is being sought. It always defeats order, because it is better organized. -- Terry Pratchett _Interesting Times_ p4
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to shut down solitone <solitone@mail.com> - 2018-03-27 15:40 +0200
Re: How to shut down Dan Purgert <dan@djph.net> - 2018-03-27 16:40 +0200
Re: How to shut down Siard <shiems146@kpnplanet.nl> - 2018-03-27 18:20 +0200
Re: How to shut down Curt <curty@free.fr> - 2018-03-27 18:50 +0200
Re: How to shut down Felix Miata <mrmazda@earthlink.net> - 2018-03-27 19:30 +0200
Re: How to shut down Don Armstrong <don@debian.org> - 2018-03-27 19:10 +0200
Re: How to shut down solitone <solitone@mail.com> - 2018-04-01 07:40 +0200
Re: How to shut down Siard <shiems146@kpnplanet.nl> - 2018-04-01 14:50 +0200
csiph-web