You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2019/02/22 08:03:05 UTC

[GitHub] monsieurp commented on a change in pull request #3313: [ZEPPELIN-4004] add a systemd unit file to launch the Zeppelin daemon via systemd commands

monsieurp commented on a change in pull request #3313: [ZEPPELIN-4004] add a systemd unit file to launch the Zeppelin daemon via systemd commands
URL: https://github.com/apache/zeppelin/pull/3313#discussion_r259243161
 
 

 ##########
 File path: scripts/systemd/zeppelin.systemd
 ##########
 @@ -0,0 +1,12 @@
+[Unit]
+Description=Apache Zeppelin daemon
+After=syslog.target network.target
+
+[Service]
+Type=oneshot
+ExecStart=/opt/zeppelin-0.8.1-bin-all/bin/zeppelin-daemon.sh start
 
 Review comment:
   Hi @liuxunorg! Thanks for reviewing.
   
   You are absolutely right: the directory in which Zeppelin files are to be installed can sit anywhere on the filesystem. I tend to install Zeppelin in `/opt` but that's just my personal preference. Of course, someone else may install Zeppelin in a different place and therefore, the path may not be `/opt/...` in this case. What do you suggest then? Because a path has to be specified in the systemd unit file.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services