You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ZEPPELIN-6182] fix fail on running script to enable system service
### What is this PR for?
fixes error on running a script to enable Zeppelin as system service
error message:
```
$ sudo ./bin/zeppelin-systemd-service.sh enable
Failed to enable unit: Unit file zeppelin.service does not exist.
To start Zeppelin using systemd, simply type:
# systemctl start zeppelin
To check the service health:
# systemctl status zeppelin
```
### What type of PR is it?
Bug Fix
### Todos
### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-6182
### How should this be tested?
* `sudo ./bin/zeppelin-system-service.sh enable` should work without error message.
* `systemctl list-units --all "zeppelin.*" | grep zeppelin` should list zeppelin.service.
output: ` zeppelin.service loaded inactive dead Apache Zeppelin daemon`
* `sudo ./bin/zeppelin-system-service.sh disable` should work without error message.
`systemctl list-units --all "zeppelin.*" | grep zeppelin` should not list zeppelin.service.
There should be no /etc/systemd/system/zeppelin.service file.
### Screenshots (if appropriate)
### Questions:
* Does the license files need to update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
Closes#4921 from sh1nj1/fix/system-serivce-sh.
Signed-off-by: Philipp Dallig <[email protected]>
0 commit comments