You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2011/05/23 11:21:04 UTC

svn commit: r1126401 - /karaf/trunk/manual/src/main/webapp/users-guide/start-stop.conf

Author: jbonofre
Date: Mon May 23 09:21:04 2011
New Revision: 1126401

URL: http://svn.apache.org/viewvc?rev=1126401&view=rev
Log:
[KARAF-614] Update the user guide about the new features on the shutdown command.

Modified:
    karaf/trunk/manual/src/main/webapp/users-guide/start-stop.conf

Modified: karaf/trunk/manual/src/main/webapp/users-guide/start-stop.conf
URL: http://svn.apache.org/viewvc/karaf/trunk/manual/src/main/webapp/users-guide/start-stop.conf?rev=1126401&r1=1126400&r2=1126401&view=diff
==============================================================================
--- karaf/trunk/manual/src/main/webapp/users-guide/start-stop.conf (original)
+++ karaf/trunk/manual/src/main/webapp/users-guide/start-stop.conf Mon May 23 09:21:04 2011
@@ -75,6 +75,26 @@ or simply:
 shutdown
 {code}
 
+The shutdown command ask you to confirm that you really want to shutdown. If you are sure about the shutdown and avoid the confirmation message, you can use the -f or --force option:
+
+{code}
+osgi:shutdown -f
+{code}
+
+It's also possible to delay the shutdown using the time argument. 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 work now is an alias for +0.
+
+The following command will shutdown Karaf at 10:35am:
+
+{code}
+osgi:shutdown 10:35
+{code}
+
+The following command will shutdown Karaf in 10 minutes:
+
+{code}
+osgi:shutdown +10
+{code}
+
 If you're running from the main console, exiting the shell using {{logout}} or {{Ctrl+D}} will also terminate the Karaf instance.
 
 From a command shell, you can run the following command: