Linux – commvault: create systemd file

If you have upgraded your old Commvault agent,or you still use an old Commvault agent on your linux ‘systemd’ system, there won’t be any start/stop script for the agent. You can use the workaround below for creating a systemd file for it.

  # cat /etc/systemd/system/simpana.service 
    [Unit]
    Description=CommVault Simpana v11
    After=network.target

    [Service]
    Type=oneshot
    ExecStart=/opt/simpana/Base/Galaxy start
    ExecStop=/opt/simpana/Base/Galaxy stop
    RemainAfterExit=yes

    [Install]
    WantedBy=multi-user.target

# systemctl enable simpana 

    ln -s '/etc/systemd/system/simpana.service' '/etc/systemd/system/multi-user.target.wants/simpana.service'
  
Share your love