blob: 03ddd6beabc7d5a1ddf72f339cbb054b260b04b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 $?
}
|