Skip to content

Configuring the Process Server to Start Automatically

To have the Process Server start automatically when your system boots up:

Create a file called vpd containing the following and entering your installation directory:

#!/bin/sh
#
#This script manages the service needed to run the Verastream Process Server


#chkconfig:235 19 08
#description:Manage the Verastream Process Server


INSTALL_DIR=<enter installation directory>
BIN_DIR=$INSTALL_DIR/processserver/bin
case "$1" in
start)
echo "Starting Verastream Process Server"
$BIN_DIR/server start

RETVAL=0
;;
stop) 
echo "Stopping Verastream Process Server"
$BIN_DIR/server stop

RETVAL=0
;;
status) echo "Current Verastream Process Server status"
$BIN_DIR/server status


RETVAL=0
;;
(restart)echo "Restart Verastream Process Server"
$BIN_DIR/server restart

RETVAL=0
;;
*)
echo "Usage: $0 {start|stop|status|restart}"
RETVAL=1
;;
esac

exit $RETVAL

Complete the following steps:

  1. Copy the file to the /etc/init.d directory
  2. Set the file permission. Run chmod using the value 755. For example, chmod 755 vpd
  3. Run chkconfig to add the initialization script. For example, /sbin/chkconfig --add vpd

Note

All quotations must be copied exactly as above.

More information