...
Note |
---|
After these changes, always make sure to start/stop/restart Connect Portal as a daemon only. In case you want to use startup.sh or stop.sh to start or stop the Connect Portal manually, make sure that the Connect Portal is not running as a daemon. |
Configuring Adeptia Connect as a Linux service for automatic startup
You can also start the entire application automatically by configuring it as a Linux service on your Linux system. To achieve this, follow the steps given below that set up automatic startup for both the Adeptia Connect Server and Portal.
...
title | Important |
---|
...
Check the status of the services by runningthe following command.
chkconfig
Tip |
---|
To check the status of a specific service, for example, ConnectServer, use the following command. sudo systemctl status ConnectServer.service |
Run the following commands to start the Adeptia services (if not started yet), enabling automatic startup of the application.
chkconfig ConnectServer on
chkconfig ConnectPortal on
You can also use following command to start the services.
service ConnectServer start
service ConnectPortal start
Info |
---|
To stop or restart the services, use the following commands.
|
...
Restart the system.
After the system restarts, the ConnectServer service starts the java instances of Kernel, WebRunner, and AIMap services, and the ConnectPortal service starts the java instance of Portal.
Adding ConnectServer service without AIMap
If you wish to add Adeptia Connect services without AIMap, do the followings.
...
Place the extracted startup.sh file at ../AdeptiaConnect/ConnectServer/AdeptiaServer/ServerKernel location.
Info |
---|
Make sure that you have granted the required set of permissions to startup.sh file for its execution. |
Follow the steps from 3 through 14 in the section above.
After the system restarts, the ConnectServer service starts the java instances of Kernel, and WebRunner.
Tip |
---|
To add the AIMap service at any later point in time, you can execute the startupAIMap.sh file located at ../AdeptiaConnect/ConnectServer/AdeptiaServer/ServerKernel. To remove the AIMap service again, you can execute the stopAIMap.sh file placed at the same location. |
Next step
...