This document illustrates some 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 service
After=local-fs.target remote-fs.target network.online.target sockets.target chronyd.service vasd.service
Wants=network-online.target
[Service]
Type=forking
WorkingDirectory=/opt/CA/SharedComponents/iTechnology
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
SuccessExitStatus=5 6
ExecStart=/bin/sh /opt/CA/SharedComponents/iTechnology/S99igateway start
ExecStop=/bin/sh /opt/CA/SharedComponents/iTechnology/S99igateway stop
[Install]
WantedBy=multi-user.target
## note: use appropriate path instead of /bin/sh
iGateway needs DXserver too, and you would need new dxserver systemd service
Here is an example:
systemctl cat dxserver.service
# /etc/systemd/system/dxserver.service
[Unit]
Description=CA Directory service
After=local-fs.target remote-fs.target network.online.target sockets.target chronyd.service vasd.service
Wants=network-online.target
[Service]
Type=forking
WorkingDirectory=/opt/CA/SharedComponents/CADirectory/dxserver
Restart=no
TimeoutSec=2min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
SuccessExitStatus=5 6
ExecStart=/bin/sh /etc/rc.d/init.d/dxserver start
ExecStop=/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
CA Directory team confirmed that there is no formal support for Directory and systemd scripts yet. The ones that we provided earlier is an example.
Here's another example from communities: https://community.broadcom.com/enterprisesoftware/communities/community-home/digestviewer/viewthread?GroupId=2197&MID=794827&CommunityKey=f9d65308-ca9b-48b7-915c-7e9cb8fc3295&tab=digestviewer
There is an idea that another customer submitted too, https://community.broadcom.com/participate/ideation-home/viewidea?IdeationKey=497f1bbf-4e7b-4bb8-b322-c67c4ca77d68 It could be up-voted for product management attention too for future product release inclusions.