Blame lenses/tests/test_rsyncd.aug
|
Packit Service |
a2ae7a |
module Test_rsyncd =
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
let conf = "
|
|
Packit Service |
a2ae7a |
# A more sophisticated example would be:
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
uid = nobody
|
|
Packit Service |
a2ae7a |
gid = nobody
|
|
Packit Service |
a2ae7a |
use chroot = yes
|
|
Packit Service |
a2ae7a |
max connections = 4
|
|
Packit Service |
a2ae7a |
syslog facility = local5
|
|
Packit Service |
a2ae7a |
pid file = /var/run/rsyncd.pid
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
[ftp]
|
|
Packit Service |
a2ae7a |
# this is a comment
|
|
Packit Service |
a2ae7a |
path = /var/ftp/./pub
|
|
Packit Service |
a2ae7a |
comment = whole ftp area (approx 6.1 GB)
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
[cvs]
|
|
Packit Service |
a2ae7a |
; comment with semicolon
|
|
Packit Service |
a2ae7a |
path = /data/cvs
|
|
Packit Service |
a2ae7a |
comment = CVS repository (requires authentication)
|
|
Packit Service |
a2ae7a |
auth users = tridge, susan # comment at EOL
|
|
Packit Service |
a2ae7a |
secrets file = /etc/rsyncd.secrets
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
"
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
test Rsyncd.lns get conf =
|
|
Packit Service |
a2ae7a |
{ ".anon"
|
|
Packit Service |
a2ae7a |
{}
|
|
Packit Service |
a2ae7a |
{ "#comment" = "A more sophisticated example would be:" }
|
|
Packit Service |
a2ae7a |
{}
|
|
Packit Service |
a2ae7a |
{ "uid" = "nobody" }
|
|
Packit Service |
a2ae7a |
{ "gid" = "nobody" }
|
|
Packit Service |
a2ae7a |
{ "use chroot" = "yes" }
|
|
Packit Service |
a2ae7a |
{ "max connections" = "4" }
|
|
Packit Service |
a2ae7a |
{ "syslog facility" = "local5" }
|
|
Packit Service |
a2ae7a |
{ "pid file" = "/var/run/rsyncd.pid" }
|
|
Packit Service |
a2ae7a |
{}
|
|
Packit Service |
a2ae7a |
}
|
|
Packit Service |
a2ae7a |
{ "ftp"
|
|
Packit Service |
a2ae7a |
{ "#comment" = "this is a comment" }
|
|
Packit Service |
a2ae7a |
{ "path" = "/var/ftp/./pub" }
|
|
Packit Service |
a2ae7a |
{ "comment" = "whole ftp area (approx 6.1 GB)" }
|
|
Packit Service |
a2ae7a |
{}
|
|
Packit Service |
a2ae7a |
}
|
|
Packit Service |
a2ae7a |
{ "cvs"
|
|
Packit Service |
a2ae7a |
{ "#comment" = "comment with semicolon" }
|
|
Packit Service |
a2ae7a |
{ "path" = "/data/cvs" }
|
|
Packit Service |
a2ae7a |
{ "comment" = "CVS repository (requires authentication)" }
|
|
Packit Service |
a2ae7a |
{ "auth users" = "tridge, susan"
|
|
Packit Service |
a2ae7a |
{ "#comment" = "comment at EOL" }
|
|
Packit Service |
a2ae7a |
}
|
|
Packit Service |
a2ae7a |
{ "secrets file" = "/etc/rsyncd.secrets" }
|
|
Packit Service |
a2ae7a |
{}
|
|
Packit Service |
a2ae7a |
}
|
|
Packit Service |
a2ae7a |
|