Why not use the systemd linux service?
Just create a script in /etc/systemd/system, e.g. 'dmconsole.service' :
# ibm datamanagementconsole
# Starts datamanagementconsole
# Note: any customizations to this file will be lost the next time this is updated
[Unit]
Description=dmconsole
Requires=db2fmcd.service
[Service]
ExecStart=/opt/ibm/ibm-datamgmtconsole/bin/startup.sh
KillMode=process
KillSignal=SIGHUP
Restart=ExecReload=/opt/ibm/ibm-datamgmtconsole/bin/restart.sh
[Install]
WantedBy=default.target
and enable the start at boot with:
#sudo systemctl enable dmconsole.service
------------------------------
Robert Falkenau
------------------------------
Original Message:
Sent: Fri March 18, 2022 12:06 PM
From: Krishna Uppalapati
Subject: DMC Service auto start option
Has anyone enabled this script to start DMC service automatically when server reboot ?
I was looking this option from DMC documentation, but could not find the script in the installed path ?
------------------------------
Krishna Uppalapati
------------------------------
#Db2