summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2019-03-19 17:33:40 +0100
committerPatrice Clement <monsieurp@gentoo.org>2019-03-19 17:37:51 +0100
commit262afa67cf882967c32ba41ee77c4a7484c67205 (patch)
tree733fc06215ca1f513ca17f50dfdf37e0d8502fa2 /www-apps/zeppelin-bin/files
parentmedia-libs/dav1d: Version bump (diff)
downloadgentoo-262afa67cf882967c32ba41ee77c4a7484c67205.tar.gz
gentoo-262afa67cf882967c32ba41ee77c4a7484c67205.tar.bz2
gentoo-262afa67cf882967c32ba41ee77c4a7484c67205.zip
dev-java/zeppelin-bin: new package.
Apache Zeppelin is a web-based, interactive, Java-powered data analytics notebook launcher. It enables users to create beautiful data-driven and collaborative notebooks using SQL, code and even more. Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'www-apps/zeppelin-bin/files')
-rw-r--r--www-apps/zeppelin-bin/files/zeppelin.init.d19
1 files changed, 19 insertions, 0 deletions
diff --git a/www-apps/zeppelin-bin/files/zeppelin.init.d b/www-apps/zeppelin-bin/files/zeppelin.init.d
new file mode 100644
index 00000000000..03ddd6beabc
--- /dev/null
+++ b/www-apps/zeppelin-bin/files/zeppelin.init.d
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+description="Web-based interactive data analytics notebook launcher"
+command="/opt/zeppelin/bin/zeppelin-daemon.sh"
+logfile="/var/log/zeppelin/zeppelin-gentoo.log"
+
+start() {
+ ebegin "Starting Apache Zeppelin ..."
+ bash $command start >> $logfile
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Apache Zeppelin ..."
+ bash $command stop >> $logfile
+ eend $?
+}