Currently, Adeptia can not be installed as a Windows service on a Linux machines. However, we can easily configure it as a Linux service by following a few steps that are described below:
1. Download the attached zip file and extract it. The zip file contains two files AdeptiaService and startup.sh.
2. Stop Adeptia services.
3. Place the extracted startup.sh file in "..\AdeptiaSuite\AdeptiaServer-5.2\ServerKernel" folder.
4. Place the extracted "AdeptiaService" file in the "\etc\init.d" folder and provide all necessary permissions.
Note- \etc\init.d folder is a default folder for Linux Operating System. Services work on several scripts and these scripts are stored in the /etc/init.d location.
5. Open this file in Edit mode and provide the Adeptia Installation directory path up to ServerKernel in the INSTALLATIONPATH. Refer to below image for more info and replace the highlighted:
6. Save the above file.
7. By default, the service script when copied to or created in "\etc\init.d" will not have the necessary executable rights to be able to be used. These will explicitly need to be set with “chmod +x script-name” before it works.
In our case command would be like this: chmod +x AdeptiaService
8. Run command “chkconfig --add script-name” to add the file in run levels.
In our case command would be like this: chkconfig --add AdeptiaService
9. Run command “chkconfig script-name on” for switching on the AdeptiaService once.
In our case command would be like this: chkconfig AdeptiaService on
10. Restart the Linux machine.
11. Services will start up automatically. after the machine restart.
To run the Adeptia Services under a user other than root:
In the AdeptiaService file, you can try updating the ./startup.sh and ./stop.sh lines (33 and 42 respectively) to the following
Article is closed for comments.