----------------------------------------------------------------------------------------------
ReadMe (user documentation) file for scripts, which provide auto launching of
the sm_file_send_clns and sm_file_send_srvs daemons.
---------------------------
This directory contains follow files:
    - sm_file_exchanger;
    - sm_file_exchanger.sh;
    - sm_file_exchanger.links.tar.gz;
    .
sm_file_exchanger
sm_file_exchanger.sh
---------------------------
Files:
    - sm_file_exchanger
        - the script, which allow to start/stop/restart
        the sm_file_send_clns and sm_file_send_srvs daemons,
        using the current user as owner of the daemon processes;
        
        Usage: 
            sm_file_exchanger    {start|stop|restart}
        .
    - sm_file_exchanger.sh
        - the scripts, which allow to start/stop/restart
        the sm_file_send_clns and sm_file_send_srvs daemons,
        using the some defined user as owner of the daemon processes;
        this script can be used for the control of the sm_file_send_clns
        and sm_file_send_srvs daemons in the command line;
        
        Usage: 
            sm_file_exchanger.sh {start|stop|restart}
        .
The file:
    - sm_file_exchanger
        should be copied to /etc/init.d directory, if a user needs the launching
        of the sm_file_send_clns and sm_file_send_srvs daemons after reboot
        of the Linux OS.
$FE_HOME
---------------------------
A user should define variable $FE_HOME in files: 
    - sm_file_exchanger
    - sm_file_exchanger.sh
    .
By default:
    FE_HOME="/opt/fe/file_exchanger-0.0.11.11-Linux-x64";
    
$FE_HOME should contain the Home Directory path of
the File Exchanger (file_exchanger) Tool.
$FE_UID and $FE_USER
---------------------------
A user should define variables $FE_UID and $FE_USER in file:
    - sm_file_exchanger.sh
    .
By default:
    FE_UID=1000;
    FE_USER="sman";
$FE_UID should contain $UID of user owner of the
sm_file_send_clns and sm_file_send_srvs daemons.
$FE_UID should contain User Name of user owner of the 
sm_file_send_clns and sm_file_send_srvs daemons.
NOTE: If a user changes $FE_UID and $FE_USER values, and launches daemons with
different permissions, he should care about access permissions to directories:
    /var/log/smansoft
    /var/lib/smansoft
and all their subdirectories and files.
I.e. daemons sm_file_send_clns and sm_file_send_srvs should have access to these
directories and files before their launch.
sm_file_exchanger.links.tar.gz 
---------------------------
File:
    - sm_file_exchanger.links.tar.gz 
        - contains links to ../init.d/sm_file_exchanger:
            K02sm_file_exchanger
            S02sm_file_exchanger
        .
        these files/links should be unpacked from the archive and they should be copied
        to /etc/rcX.d/ directories if a user have copied the sm_file_exchanger script
        to /etc/init.d directory.
-----------------------------------------------------------------------------------------------         
End of the document
-----------------
    Copyright (C) 2020 SManSoft 
                        Sergey Manoylo