-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El 24/11/10 06:35, Paul Gear escribió:
>>> Which is the preferred method of shutdown of a Linux Server and any
>>> >> specific reason to go with the specific method.
>>> >> Please suggest/guide
>> > 
>>> >> Shutdown:
>> > 
>>> >>     * init 0
>>> >>     * shutdown -h now
>>> >>           o -a: Use file /etc/shutdown.allow
>>> >>           o -c: Cancel scheduled shutdown.
>>> >>     * halt -p
>>> >>           o -p: Turn power off after shutdown.
>>> >>     * poweroff
>> > 
>>> >> Thanks
>> > 
>>> >> Kaushal
>> > 
>> > 
>> > That's a bit generic question because it deppends on the type of
>> > init-system is using the GNU/Linux distro you are using.
>> > 
>> > It could be sys-v, bsd-style, upstart, etc...
>> > 
>> > Check your distro's man shutdown
> When the question is asked on the Ubuntu server mailing list, i think
> it's fairly safe to assume that the question is about Ubuntu server...
> And on Linux, the choice of Sys V or upstart doesn't seem to make any
> difference in my experience.

The OP knows very well how to halt a system as he posts a list of
several ways of doing it. Each one valid.

He is asking for a "preferred methond of shutdown of a Linux Sever".
IMHO my answer tries to show that there isn't a preferred method. It
depends on how those commands are implemented.

Checking his distro's *man shutdown* is a good advice IMHO.

:-)

HTH

- -- 
Hilario J. Montoliu
hmontoliu <at> ubuntu.com
http://hmontoliu.blogspot.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkztCtEACgkQk9xSKJO/Y0EtGwCeLF8hG6f7FmbjqYg+cMTGbEh4
skMAnjP0Xf60eth5fqqsBYVdZSoffeGZ
=3nlR
-----END PGP SIGNATURE-----

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to