1. Manual start and stop.

Start the SERAS manually with the script from application root folder:
start.sh
(If JAVA_HOME variable is not defined on your system, you may have to adjust the
path to Java Runtime Environment in script or batch file. The path to Java depends
on your Java installation).
To stop the SERAS, please use the stop script:
stop.sh

2. Make runnable as a service for CentOS

For a production environment, we recommend making SERAS runnable as a service
with each system start. To make this, please follow these steps:
1. Move the script file 'seras-server', which is located in the 'scripts' folder, to
your /etc/init.d folder.
sudo mv ./scripts/seras-server /etc/init.d/seras-server
2. Open in editor 'seras-server' file and change the APP_PATH variable to the path
where your SERAS is located.
sudo vi /etc/init.d/seras-server
(e.g., APP_PATH="/opt/seras")
3. Give this script executable permission (e.g., 775, but you can set it lower).
sudo chmod 775 /etc/init.d/seras-server
4. Add to startup list:
sudo chkconfig --add seras-server
5. Add symbol link to 'server-seras' file (ln /usr/sbin/rcseras /etc/init.d/server-seras)
6. Reboot the server or start the SERAS service manually.
sudo rcseras start