zeppelin/docs/setup/basics/systemd.md
Patrice Clement 393cb98a43 [ZEPPELIN-4004] add a systemd unit file to launch the Zeppelin daemon via systemd commands
### 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.
2019-03-18 12:15:48 +08:00

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"