by hydro » Wed Apr 18, 2012 6:43 am
@bob8889
$this->bbcode_second_pass_quote('', '
')Usage: shutdown [-akrhPHfFnc] [-t sec] time [warning message]
The time argument can have different formats. First, it can be an absolute time in the format hh:mm,
in which hh is the hour (1 or 2 digits) and mm is the minute of the hour (in two digits). Second, it
can be in the format +m, in which m is the number of minutes to wait. The word now is an alias for
+0.
Note that
time is not
sec.
$this->bbcode_second_pass_quote('dinjo', 'M')y point of asking was since we should allow nice killing of process rather than force killing
shutdown always allows processes to terminate properly first. It's probably advisable to increase (or rather: not to decrease) the number of seconds init waits before leftover processes are finally killed. I'v read somewhere the default value for the -t option is 5 seconds, so not using -t should be safe enough.