Configuring the automatic startup/shutdown procedure for Control-M/EM (RedHat and Oracle Linux 7 or later)

This procedure describes how to configure the automatic startup procedure for Control-M/EM on RedHat 7 or later and Oracle Linux 7 or later.

NOTE: If there is a High Availability installation, you need to start the non-active environment, after the active environment starts.

To configure the automatic startup procedure for Control-M/EM:

  1. Log in as root.
  2. Navigate to the following to location:

    /etc/systemd/system/

  3. Create a new unit service file with 644 permissions.

    The extension must be .service.

    EXAMPLE: EM.service

  4. Open the file and type the following:

    [Unit]

    Description=Control-M/EM

    After=systemd-user-sessions.service multi-user.target network.target

    [Service]

    User=<unit_service>

    ExecStart=/bin/sudo -u <user_account> /bin/csh -c "start_server; start_config_agent"

    Type=forking

    RemainAfterExit=yes

    ExecStop=

    [Install]

    WantedBy=multi-user.target

  5. Save the file.
  6. From a command line, run the following commands:
  7. Restart the Control-M/EM computer.

Parent Topic

Control-M post installation procedures on UNIX