Symantec Access Management

 View Only
  • 1.  Systemd unit file

    Broadcom Employee
    Posted Aug 22, 2018 09:11 AM



    Wondering whether anybody has a handy CA Directory systemd unit file to share with the community as an alternative to the SysVinit (/etc/rc.d/init.d/dxserver) shipped with the product?


    Thank you



    CA Tech Support

  • 2.  Re: Systemd unit file
    Best Answer

    Broadcom Employee
    Posted Aug 23, 2018 07:54 AM

    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.

  • 3.  RE: Re: Systemd unit file

    Posted Aug 06, 2020 04:05 PM
    The following is the systemd file we created for CA Directory 14.0.

    Description=CA Directory DXserver Service

    ExecStart=/etc/rc.d/init.d/dxserver start
    ExecStop=/etc/rc.d/init.d/dxserver stop


    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