This is an automated email from the ASF dual-hosted git repository.
andysch pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-kickstart.git
The following commit(s) were added to refs/heads/master by this push:
new c1a0e2c Added some notes about running Kickstart with Sling Run Modes
c1a0e2c is described below
commit c1a0e2ca813d7c806cf93577ba9ecdec03cc45fa
Author: Andreas Schaefer <[email protected]>
AuthorDate: Tue Oct 20 15:03:33 2020 -0700
Added some notes about running Kickstart with Sling Run Modes
---
Readme.md | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Readme.md b/Readme.md
index e15577b..52df9ba 100644
--- a/Readme.md
+++ b/Readme.md
@@ -56,6 +56,15 @@ To shutdown the service use the 'stop' command:
java -jar org.apache.sling.kickstart--<version>.jar stop
```
+### Providing Sling Run Modes
+
+If you project requires Sling Run Modes for Configuration purposes then
+you can provide them here with the Kickstart project by using the
+**sling.run.modes** property. Call it this way:
+```bash
+java -jar <kickstart jar file>.jar -Dsling.run.modes=mode1,mode2
+```
+
### Parameters
The parameters of the Kickstarter is beside **-af, -s** are the same as