Example systemd startup scripts for iGateway and dxserver. They are not officially supported by any product teams, but are sample scripts that do seem to work at several installations.
systemctl cat igateway
# /etc/systemd/system/igateway.service[Unit]Description=CA iTechnology iGateway serviceAfter=local-fs.target remote-fs.target network.online.target sockets.target chronyd.service vasd.serviceWants=network-online.target [Service]Type=forkingWorkingDirectory=/opt/CA/SharedComponents/iTechnologyRestart=noTimeoutSec=5minIgnoreSIGPIPE=noKillMode=processGuessMainPID=noRemainAfterExit=yesSuccessExitStatus=5 6ExecStart=/bin/sh /opt/CA/SharedComponents/iTechnology/S99igateway startExecStop=/bin/sh /opt/CA/SharedComponents/iTechnology/S99igateway stop [Install]WantedBy=multi-user.target
## note: use appropriate path instead of /bin/sh
iGateway needs DXserver, ad you would need a new dxserver systemd service.
Here is an example:
systemctl cat dxserver.service# /etc/systemd/system/dxserver.service[Unit]Description=CA Directory serviceAfter=local-fs.target remote-fs.target network.online.target sockets.target chronyd.service vasd.serviceWants=network-online.target
[Service]Type=forkingWorkingDirectory=/opt/CA/SharedComponents/CADirectory/dxserverRestart=noTimeoutSec=2minIgnoreSIGPIPE=noKillMode=processGuessMainPID=noRemainAfterExit=yesSuccessExitStatus=5 6ExecStart=/bin/sh /etc/rc.d/init.d/dxserver startExecStop=/bin/sh /etc/rc.d/init.d/dxserver stop
[Install]WantedBy=multi-user.target
## note: use appropriate path instead of /bin/sh
-- Create the files above with 755 privileges (/etc/systemd/system/igateway.service and /etc/systemd/system/dxserver.service) with the contents above
-- systemctl enable dxserver.service ## this enables the service
-- systemctl enable igateway.service ## this enables the service