KB Article #152322

Enable FTD Server Autostart on Linux

Problem

When FTD 2 is installed on an existing Linux machine, e.g. on RedHat or CentOS Linux box, it is not added automatically in OS startup scripts and has to be run manually on each server reboot.


Resolution

In order to have FTD server started automatically upon each OS start, it is recommended to add the following line in '/etc/rc.local' startup script:



install_directory/nodeExecutive/startExecutiveAndNodes.sh



Using the default naming convention, the above line would be:



/opt/axway/FTDirect/nodeExecutive/startExecutiveAndNodes.sh



and '/etc/rc.local' script should look like this:



#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.



touch /var/lock/subsys/local



#Auto Start FTD Server and redirect STDOUT and STDERR in /dev/null
/opt/axway/FTDirect/nodeExecutive/startExecutiveAndNodes.sh & &> /dev/null