Author: pieber
Date: Wed May 22 08:11:32 2013
New Revision: 1485110

URL: http://svn.apache.org/r1485110
Log:
[KARAF-1563] Added restart documentation to master branch

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=1485110&r1=1485109&r2=1485110&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 Wed May 22 
08:11:32 2013
@@ -64,6 +64,25 @@ For convenience, a parameter on the {{ka
 bin/start clean
 {code}
 
+In addition there might be situations where you need to restart the 
application from your application or dont have any
+access to the service starting and stopping karaf. In this case you can either 
put an empty clean_cache or clean_all file
+into the {{data}} folder. If you restart or start and stop Karaf then either 
the cache will be cleaned or the entire
+{{data}} folder will be deleted.
+
+h2. Restarting Karaf
+
+You can restart Karaf directly from the command line by using:
+{code}
+system:shutdown -r
+{code}
+
+Be careful since this does not start a new JVM but simply restarts the OSGi 
framework. If you want to clean your {{cache}}
+or {{data}} directory during the reboot add the -c or -cc params to your 
build. More detailed information about the
+restart parameters could be retrieved from the command line by using
+{code}
+system:shutdown --help
+{code}
+
 h2. Stopping Karaf
 
 For both Windows and Unix installations, you can perform a clean shutdown of 
Karaf by using the following command when inside a Karaf console:


Reply via email to