Skip to main content

priint-bpm on Linux

1. Download

Get the latest priint-bpm jar file here.

Unzip downloaded zip into your publishing server folder into subfolder priint-bpm. You can do it by running a following command:

sudo unzip priint-bpm.zip -d priint-bpm

1.1 Install JDK 17 (if not already installed)

sudo apt install openjdk-17-jdk

2. Configuration

Please refer here for detailed instructions.

3. Running priint-bpm

If not provided, consider creating a shell script in the priint-bpm folder for starting the service easily. Or simply run:

jdk17/bin/java -jar priint-bpm-4.4.jar --spring.config.additional-location=file:"application.yml"

Note: using Spring's additional-location property makes sure some reasonable defaults are used for application properties you don't care to set explicitly.

4. Optional System Service creation

If you want to run your priint-bpm automatically, you can create systemctl service.

  1. Create file priint-bpm.service in /etc/systemd/system
  2. Edit the file and write the content:
[Unit]
Description=priint-bpm service

[Service]
WorkingDirectory=/opt/pubserver/priint-bpm
ExecStart=/opt/pubserver/priint-bpm/YOUR-START-SCRIPT.sh
Restart=always

[Install]
WantedBy=multi-user.target
  1. Reload the service files to include the new service.
sudo systemctl daemon-reload
  1. Start your service
sudo systemctl start priint-bpm.service
  1. To check the status of your service
sudo systemctl status priint-bpm.service
  1. To enable your service on every reboot
sudo systemctl enable priint-bpm.service
  1. To disable your service on every reboot
sudo systemctl disable priint-bpm.service
  1. To see if your service is working
sudo systemctl --type=service