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
------------------------------