sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master binary grimoire by Ladislav Hagara (3712986bd2926c45f5e24d4fa872dd8e8fd1bccf)
- From: Ladislav Hagara <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master binary grimoire by Ladislav Hagara (3712986bd2926c45f5e24d4fa872dd8e8fd1bccf)
- Date: Sat, 5 Sep 2009 19:59:24 -0500
GIT changes to master binary grimoire by Ladislav Hagara <hgr AT vabo.cz>:
bin-http/ontopia/HISTORY | 3 +++
bin-http/ontopia/init.d/ontopia | 22 ++++++++++++++++++++++
2 files changed, 25 insertions(+)
New commits:
commit 3712986bd2926c45f5e24d4fa872dd8e8fd1bccf
Author: Ladislav Hagara <hgr AT vabo.cz>
Commit: Ladislav Hagara <hgr AT vabo.cz>
ontopia: added init.d script
diff --git a/bin-http/ontopia/HISTORY b/bin-http/ontopia/HISTORY
index a58a748..ec6913a 100644
--- a/bin-http/ontopia/HISTORY
+++ b/bin-http/ontopia/HISTORY
@@ -1,3 +1,6 @@
+2009-09-06 Ladislav Hagara <hgr AT vabo.cz>
+ * init.d/ontopia: added
+
2009-09-04 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS, DEPENDS, PRE_BUILD, BUILD, INSTALL: spell created, version
5.0.1b1-20090903
diff --git a/bin-http/ontopia/init.d/ontopia b/bin-http/ontopia/init.d/ontopia
new file mode 100644
index 0000000..140c065
--- /dev/null
+++ b/bin-http/ontopia/init.d/ontopia
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+RUNLEVEL=3
+PROGRAM=/bin/false
+
+export JAVA_HOME=/usr/lib/j2sdk
+
+. /etc/init.d/smgl_init
+
+start()
+{
+ echo "Starting Ontopia application server ..."
+ su ontopia -s /bin/bash -c /opt/ontopia/apache-tomcat/bin/startup.sh
+ evaluate_retval
+}
+
+stop()
+{
+ echo "Stopping Ontopia application server ..."
+ su ontopia -s /bin/bash -c /opt/ontopia/apache-tomcat/bin/shutdown.sh
+ evaluate_retval
+}
- [SM-Commit] GIT changes to master binary grimoire by Ladislav Hagara (3712986bd2926c45f5e24d4fa872dd8e8fd1bccf), Ladislav Hagara, 09/05/2009
Archive powered by MHonArc 2.6.24.