A sample init script

A sample init script i am using this to “service” manage zeppelin which is installed to “/opt/zeppelin-0.7.0-bin-all and the start command is /opt/zeppelin-0.7.0-bin-all/bin/zeppelin-daemon.sh start change to suit your situation. script below. #!/bin/sh # Available run levels:     2 3 4 5 # Stopped run levels:      0 1 6 dir=“/opt/zeppelin-0.7.0-bin-all” cmd=“/opt/zeppelin-0.7.0-bin-all/bin/zeppelin-daemon.sh start” user=“” …