mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
### What is this PR for?
Here's a possible systemd unit file to control the Zeppelin Java process using systemd commands. Typically on a Ubuntu Linux server for instance. I've also written a very short README to get noobs started.
### What type of PR is it?
Feature
### Todos
* Review code.
* Merge.
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-4015
### How should this be tested?
* Install systemd unit file.
* Test.
* Report back.
### Screenshots (if appropriate)
* None required.
### Questions:
* Does the licenses files need update? No.
* Is there breaking changes for older versions? No.
* Does this needs documentation? Yes. Written in a README file for the time being. Might need to write a lengthy documentation page if contribution is accepted.
Author: Patrice Clement <monsieurp@gentoo.org>
Closes #3313 from monsieurp/ZEPPELIN-4015 and squashes the following commits:
6ebfe5596 [Patrice Clement] ZEPPELIN-4015: add a systemd unit file to launch the Zeppelin daemon via systemd commands.
12 lines
265 B
Text
12 lines
265 B
Text
[Unit]
|
|
Description=Apache Zeppelin daemon
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=%ZEPPELIN_DIR%/bin/zeppelin-daemon.sh start
|
|
ExecStop=%ZEPPELIN_DIR%/bin/zeppelin-daemon.sh stop
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|