• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

linux verbosity stuffs.

Colt45

Lifer
In a past install of linux, it did a few things I liked that my current install (debian) doesnt do:

when shutting down it would say "the system is going down now!" or something like that, even to my other computer via SSH.

and when say, restarting apache, it would tell you that the restart was successful rather than absolutely nothing.


Anyway to add these sort of things to my current setup?😱
 
Well there is nothing automatic you can do.

Just edit the init file for Apache to check to make sure it's been restarted. Thats probably the easiest way. There may be some options in there to add extra comments.


For the shutdown message I am not sure what your saying.

I am guessing you just want to use the shutdown command which should notify users in ssh and such. To test just go:
sudo shutdown -h now -k
(the -k flag tells it to fake it)
and it should output a message on all the consoles.
 
It should print the shutting down now thing, I never really pay attention when I type reboot but I'm pretty sure it does.

As for apache, all '/etc/init.d/apache restart' does is send a HUP signal to the process so it doesn't actually stop and start the daemon again and thus can't tell if apache restarted or not, it only knows that the signal was sent.
 
Back
Top