The following is the systemd file we created for CA Directory 14.0.
dxserver.service
-----------------------------------------------------------
[Unit]
Description=CA Directory DXserver Service
After=network.target
[Service]
Type=forking
ExecStart=/etc/rc.d/init.d/dxserver start
ExecStop=/etc/rc.d/init.d/dxserver stop
RemainAfterExit=true
[Install]
WantedBy=multi-user.target
-----------------------------------------------------------
In addition, the OOTB systemV init.d script does not completely stop all DX components. Near the bottom of that script we added:
-----------------------------------------------------------
# stop dxagent
echo | tee -a $DXLOG
echo "Stopping the DXagent daemon" | tee -a $DXLOG
$SU - $DXUSER -c "dxagent stop" >> $DXLOG 2>&1
Original Message:
Sent: 08-23-2018 07:53 AM
From: Rinat Matityahu
Subject: Re: Systemd unit file
Discussing with the Engineering team, the Product is not shipped with systemd file. This might be a good Idea (Formally known as Enhancement Request) to raise with Product Management.
If any community user has a systemd created locally which they are happy to share, that would be great.