Pentaho Installation Wizard or manual installation: Starting on boot
#!/bin/sh ### BEGIN INIT INFO # Provides: start-pentaho stop-pentaho # Required-Start: networking postgresql # Required-Stop: postgresql # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Description: Pentaho Server ### END INIT INFO case "$1" in "start") su - pentaho -c "/home/pentaho/pentaho/server/pentaho-server/start-pentaho.sh" ;; "stop") su - pentaho -c "/home/pentaho/pentaho/server/pentaho-server/stop-pentaho.sh" ;; *) echo "Usage: $0 { start | stop }" ;; esac exit 0if [ "$?" = 0 ]; then cd "$DIR/tomcat/bin" export CATALINA_OPTS="-Xms4096m -Xmx6144m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000" env JAVA_HOME=$_PENTAHO_JAVA_HOME sh ./startup.sh fichmod +x /etc/init.d/pentahoupdate-rc.d pentaho defaults
Last updated
Was this helpful?

