Commit 0f7c27d
authored
[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 <philipp.dallig@gmail.com>1 parent 52ea80f commit 0f7c27d
File tree
2 files changed
+4
-3
lines changed- bin
- scripts/systemd
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
File renamed without changes.
0 commit comments