diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-02-24 10:06:58 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-02-24 10:06:58 +0200 |
commit | f7834b6f1aa00b7173a2fe338756c2bad4e3927b (patch) | |
tree | d3574e0fcdc2d94baf1d5b520ca6fc778955749f /etc | |
parent | 4213ec5ef9695aa504938c0e764ba9a4f08921b2 (diff) | |
download | wydawca-f7834b6f1aa00b7173a2fe338756c2bad4e3927b.tar.gz wydawca-f7834b6f1aa00b7173a2fe338756c2bad4e3927b.tar.bz2 |
Sync example config
Diffstat (limited to 'etc')
-rw-r--r-- | etc/wydawca.rc | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/etc/wydawca.rc b/etc/wydawca.rc index 99198dc..378e9ac 100644 --- a/etc/wydawca.rc +++ b/etc/wydawca.rc @@ -83,29 +83,12 @@ access-method gpg-key { type sql; params (default); query "SELECT gpg_key FROM user WHERE user_name='$u'"; } ############################################################################# -# Configure your directory pairs. -# A directory pair defines where to look for input triplets, and where to -# copy uploaded files. -# -# See `info wydawca directory', for a detailed explanation. -############################################################################# - -directory ftp://your.domain.net { - source "/home/ftp/incoming/ftp"; - destination "/home/ftp/gnu"; - archive directory { - name "/var/spool/archive"; - backup numbered; - } -} - -############################################################################# # Configure email notifications # See `info wydawca notification', for an explanation. ############################################################################# admin-address "root@localhost"; from-address "wydawca@localhost"; @@ -297,7 +280,25 @@ This upload has been ignored and the files removed. Regards, Wydawca The Project Submission Robot EOT; } +############################################################################# +# Configure distribution spools. +# A spool defines where to look for input triplets, and where to +# copy uploaded files. +# +# See `info wydawca spool', for a detailed explanation. +############################################################################# + +spool download { + url ftp://your.domain.net; + source "/home/ftp/incoming/ftp"; + destination "/home/ftp/gnu"; + archive directory { + name "/var/spool/archive"; + backup numbered; + } +} + # End of configuration file |