diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-05 21:17:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-05 21:17:31 +0100 |
commit | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (patch) | |
tree | c85d72f6f31f21f178069c9d41d41a7c1ff4b362 /www-apps/zeppelin-bin/files | |
parent | 0706fc6986773f4e4d391deff4ad5143c464ea4e (diff) |
gentoo resync : 05.04.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 $? +} |