Skip to content

Instantly share code, notes, and snippets.

@dev-armando
Created January 10, 2022 18:48
Show Gist options
  • Save dev-armando/05e565e71717b78a11c165b6e18a1558 to your computer and use it in GitHub Desktop.
Save dev-armando/05e565e71717b78a11c165b6e18a1558 to your computer and use it in GitHub Desktop.
[Unit]
Description=Pentho Bi-server
After=syslog.target
After=network.target 
[Service]
Type=forking
User=<username>
Group=<group>
Environment=JAVA_HOME
ExecStart=/opt/Pentaho/pentaho-server/start-pentaho.sh
ExecStartPost=/bin/echo pentaho...end of unitfile
ExecStop=/opt/Pentaho/pentaho-server/stop-pentaho.sh
TimeoutSec=300
 
[Install]
WantedBy=graphical.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment