ContentsIndexPreviousNext

7.3 Starting acuserve at System Startup

Windows NT/Windows 2000

On a Windows NT or Windows 2000 server, we recommend that acuserve be installed as a Windows service. This causes the service to be started automatically each time the system is booted. If you do not install it as services, it will stop whenever you log out.

Acucorp provides an installation script that gives you the option to install the acuserve daemon as a Windows service. If you choose not to install the service from the installation script, you can install it as a service in the following way:

You must be logged into an account that belongs to the Administrators group. From the AcuServer icons, select the icon titled "Install Acuserve Services". Or, from the command line, type:

acuserve   -install

The service will now be started automatically each time the system is booted.

Immediately following the installation, you can start the service from the AcuServer icons. Select the icon "Start Acuserve Service".

As an alternative, you can use the Start/Settings/Control Panel/Services menu option.

Please note that installing a service on a particular port resets all start-up options for the service on that port. You can use all valid "-start" options when installing acuserve as a service. These options are stored so that the service will use them when starting.

UNIX

On a UNIX server, to start acuserve whenever the server boots, add the "acuserve -start" command to the system boot file. Your entry might be similar to the following in Bourne Shell:

#
# If the acuserve executable is present,
# start acuserve
if  (test -f  /acucobol/acuserve)  then
   echo Starting acuserve > /dev/console
   /acucobol/acuserve -start \
      -e /acucobol/acuserve.log
fi