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.
- Create file priint-bpm.service in
/etc/systemd/system
- 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
- Reload the service files to include the new service.
sudo systemctl daemon-reload
- Start your service
sudo systemctl start priint-bpm.service
- To check the status of your service
sudo systemctl status priint-bpm.service
- To enable your service on every reboot
sudo systemctl enable priint-bpm.service
- To disable your service on every reboot
sudo systemctl disable priint-bpm.service
- To see if your service is working
sudo systemctl --type=service