This manual contains the description about how to make the applications start automatically when the operating system is starting.

Currently, when a computer is rebooted, the applications has to be started manually. This describes how to make the operating systems start the applications during startup.


Note: This has been tested with Redhat Enterprise Linux 5, so it probably works on Fedora (Core) as well.

Log in as administrator. Create the following script in '/etc/init.d/' (the name of the script will be referred to as netarkiv):

# chkconfig: 345 80 20
# description: netarkiv
[ -x /home/USERNAME/ENV_NAME/conf/ ]  || exit 0
case $1 in
        su - netarkiv -c 'ENV_NAME/conf/'
        su - netarkiv -c 'ENV_NAME/conf/'
        echo "Usage: $0 { start | stop }"
        exit 1

Where USERNAME is the name of the user for the installation, and ENV_NAME is the environment name for NetarchiveSuite (defined in the configuration file).

The following command has to be run for the netarkiv script to be run during start-up and shut-down of Linux:

chkconfig --add netarkiv

The script can also be run manually, by the commands:

service netarkiv stop
service netarkiv start


This is an example of how to make Windows 2003 Server automatically call a script during start-up. The restart script has to be run, since it might not have closed correctly last time (e.g. power-failure, spontaneous reboot, etc.). This cleans up before the applications are restarted.

Create the service.

Now the application should automatically start during Windows startup.