Autostarting Pentaho Server with systemd

[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

https://medium.com/mindninja/autostarting-pentaho-server-with-systemd-23a31d664b0e

Print Friendly, PDF & Email

Добавить комментарий