Can TNG automatically run as a deamon under Linux

Moderators: Leon van Heerden, Luanda_Junzi, Belinda Frick, Lee Hendricks

Can TNG automatically run as a deamon under Linux

Postby Belinda Frick » Mon Nov 15, 2010 1:32 pm

Different Linux distributions have different startup scripts.

They generally fall into two categories, namely BSD and SYSV.

  • Ubuntu, RedHat, SuSE, Debian, which are the most commonly used distributions, all use SYSV.
  • Slackware, which we use for Amethyst, uses BSD.

Without making things too complicated, you can simply add the lines below to the "local" startup file.

Code: Select all
# Start TNG
export LC_ALL=en_ZA
cd /opt/datatex/tng
./tng -D

The "local" startup file can be found in the following locations:

    Slackware - /etc/rc.d/rc.local

    CentOS 4.3 - /etc/rc.d/rc.local

    Ubuntu - /etc/rc.local

    Suse 8.0 - /etc/init.d/

    RedHat will be similar to CentOS, and
    Debian will be similar to Ubuntu.

See also: Running TNG on the AsteriskNow distribution
Belinda Frick
Posts: 3792
Joined: Fri Nov 12, 2010 4:25 pm

Return to Support Archive's (TNG)

Who is online

Users browsing this forum: No registered users and 1 guest