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.
1.4 KiB
1.4 KiB
| layout | title | description | group |
|---|---|---|---|
| page | Manage Zeppelin with systemd | Zeppelin and systemd | setup/basics |
{% include JB/setup %}
Zeppelin and systemd
Unit file installation / deinstallation
This script accepts two parameters: enable and disable which, as you might have guessed, enable or disable the Zeppelin systemd unit file. Go ahead and type:
# ./bin/zeppelin-systemd-service.sh enable
This command activates the Zeppelin systemd unit file on your system.
If you wish to roll back and remove this unit file from said system, simply type:
# ./bin/zeppelin-systemd-service.sh disable
Manage Zeppelin using systemd commands
To start Zeppelin using systemd;
# systemctl start zeppelin
To stop Zeppelin using systemd:
# systemctl stop zeppelin
To check the service health:
# systemctl status zeppelin"