You are not logged in.

#1 2009-06-17 00:02:51

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Shutdown time controlled

Hello guys,

so far I shutdown my machine via shutdown -h +time when I want to terminate it time controlled. But often there are still some programs running like firefox. Is there any program-friendly method to shutdown?

shutdown -h kills all apps instantly without terminating them correctly.

Best regards

Offline

#2 2009-06-17 03:57:30

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: Shutdown time controlled

From the man page,

     

shutdown  brings  the  system down in a secure way.  All logged-in
       users are notified that the system is going down, and login(1)  is
       blocked.   It  is  possible to shut the system down immediately or
       after a specified delay.  All processes are  first  notified  that
       the  system  is going down by the signal SIGTERM.  This gives pro‐
       grams like vi(1) the time to save the file being edited, mail  and
       news  processing programs a chance to exit cleanly, etc

Offline

#3 2009-06-17 07:26:16

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Shutdown time controlled

Interesting, but why does Firefox recommend to recover my last session when I launch it after reboot?

Clean would be if it opens without any message, isn't it?

Last edited by orschiro (2009-06-17 07:26:30)

Offline

#4 2009-06-17 20:16:20

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Shutdown time controlled

@op - firefox knows that it was exited in a fashion inconsistent with you closing it and it attempts to reload your prev. session.  Nice feature I think.  I believe you can disable it within FF.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB