How to setup 'DSML Service' to AutoStart?

How to setup 'DSML Service' to AutoStart?

book

Article ID: KB0070332

calendar_today

Updated On:

Products Versions
ibi WebFOCUS All,

Description

- How to setup 'DSML Service' to AutoStart?

Issue/Introduction

How to setup 'DSML Service' to AutoStart?

Environment

Ubuntu

Resolution

Resolution : 
Sometimes, when the DSML Ubuntu instance is down, DSML services stop. In such cases, the customer needs to manually start the service by running the,
'run_dsml_services.sh'

From '
/home/ubuntu/ibi/dsml/conf/run_dsml_services.sh'.

------------------------------------------------------------------------------------------------------------------
Instead of starting the service manually every time, we can create a cron job to run it automatically at reboot

Here are the steps to do the same :

Open the crontab file with the following command.

crontab -e


Add the following line to the crontab file.

@reboot sudo /home/ubuntu/ibi/dsml/conf/run_dsml_services.sh  &

@reboot specifies that the script needs to be run at startup. we can use this method for almost every Linux distribution.