Installing the Unica Campaign listener as a Windows service

You can install the Unica Campaign listener as a Windows service so that it starts automatically whenever you start Windows.

Procedure

  1. Add the bin directory under the Unica Campaign installation directory to the user PATH environment variable. If the PATH environment variable does not exist for the user, create it.

    Make sure that you add this path to the user PATH variable, not the system PATH variable.

    If the Unica Campaign bin directory exists in the system PATH environment variable, remove it. You do not need it in the system PATH environment variable to install the Unica Campaign listener as a service.

  2. If you are upgrading from a previous version of Unica Campaign that had the server installed as a service, stop the service.
  3. Open a command window and change directories to the bin directory under your Unica Campaign installation.
  4. Run the following command to install the Unica Campaign listener as a Windows service:

    unica_aclsnr -a

    Note: The -a option includes auto-restart functionality. If you do not want the service to attempt to restart automatically, use unica_aclsnr -i.

    The listener is now installed as a service.

    Note: Make sure CAMPAIGN_HOME has been created as a system environment variable before starting the Unica Campaign listener service.
    Note: You must add the appropriate listener type.
  5. Open the Unica Campaign Listener Service properties dialog box. Click the Log On tab.
  6. Select This account.
  7. Enter the user name (system user) and password and start the services.