Module rsync

Rsync Service.

Functions

AddServer (port) Add a new RSync Server.
rsyncserver:AddDir (rsyncdir) Add Directory to RSync server.
rsyncdir:AddUser (rsyncuser) Add User to RSync directory.

Tables

rsyncserver RSync Server
rsyncdir RSync Server Directory.
rsyncuser RSync User.


Functions

AddServer (port) line 26
Add a new RSync Server.

Parameters:

  • port integer

Returns:

    rsyncserver

Usage:

    local rsyncserver = rsync:AddServer(9999)
rsyncserver:AddDir (rsyncdir) line 34
Add Directory to RSync server.

Parameters:

  • rsyncdir

Usage:

    local rsyncserver = rsync:AddServer(9999)
    rsyncserver:AddDir{path='/test', localpath='/tmp/test'}
rsyncdir:AddUser (rsyncuser) line 42
Add User to RSync directory.

Parameters:

  • rsyncuser

Usage:

    local rsyncserver = rsync:AddServer(9999)
    local ServerDir = rsyncserver:AddDir{path='/test', localpath='/tmp/test'}
    local ServerDir:AddUser{username='test', password='test'}

Tables

rsyncserver line 12
RSync Server

Fields:

  • port integer TCP Port server is configured to listen on.
rsyncdir line 17
RSync Server Directory.

Fields:

  • path string Name of directory. Do not include / in the name.
  • localpath string Local Path to map to.
rsyncuser line 22
RSync User.

Fields:

  • username string
  • password string
generated by LDoc 1.4.6 Last updated 2019-03-17 07:38:48