diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-24 17:22:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-24 17:22:19 +0000 |
commit | aa3411e241a201d53a2689766fe419f2756819f3 (patch) | |
tree | cc19adfde0a10aab1ab566c8dfe3c1616e5cc390 /www-apps/zeppelin-bin/files | |
parent | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (diff) |
gentoo resync : 24.03.2019
Diffstat (limited to 'www-apps/zeppelin-bin/files')
-rw-r--r-- | www-apps/zeppelin-bin/files/zeppelin.init.d | 19 |
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 000000000000..03ddd6beabc7 --- /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 $? +} |