Sidebar

How do I start QIE on a Linux system using systemd?

0 votes
548 views
asked Jun 22, 2017 by jon-t-6024 (560 points)
On many modern Linux systems, such as Ubuntu, upstart has been replaced by systemd.  How do I autostart QIE on these systems?

2 Answers

0 votes
 
Best answer
When you extract the contents of the QIE{version}_{build}_war.zip, you will find a 'README.txt' file the explains how to configure and start QIE using both upstart and systemd.  There is a pre-build 'qie.service' file that can be copied over to the /etc/systemd/system/ folder.  You will then run 'systemctl daemon-reload' to get it loaded, and from there you can run 'systemctl start qie' to start the service or 'systemctl stop qie' to stop the service.
answered Jun 22, 2017 by ben-s-7515 (12,320 points)
0 votes

You must create a systemd service file.  Here is the format for one using standard paths:

 

# Qvera Interface Engine

[Unit]
After=mysql.service

[Service]
ExecStart=/java/qie/start.sh

[Install]
WantedBy=default.target

 

Save this file in /etc/systemd/system

 

*Note: if you do not use MySQL/MariaDB, or it is not installed on the same system, you may replace the "After" line with this:

After=network.target
 

answered Jun 22, 2017 by jon-t-6024 (560 points)
edited Jun 22, 2017 by jon-t-6024
...