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 | |||
@@ -86,23 +86,6 @@ access-method gpg-key { | |||
86 | } | 86 | } |
87 | 87 | ||
88 | ############################################################################# | 88 | ############################################################################# |
89 | # Configure your directory pairs. | ||
90 | # A directory pair defines where to look for input triplets, and where to | ||
91 | # copy uploaded files. | ||
92 | # | ||
93 | # See `info wydawca directory', for a detailed explanation. | ||
94 | ############################################################################# | ||
95 | |||
96 | directory ftp://your.domain.net { | ||
97 | source "/home/ftp/incoming/ftp"; | ||
98 | destination "/home/ftp/gnu"; | ||
99 | archive directory { | ||
100 | name "/var/spool/archive"; | ||
101 | backup numbered; | ||
102 | } | ||
103 | } | ||
104 | |||
105 | ############################################################################# | ||
106 | # Configure email notifications | 89 | # Configure email notifications |
107 | # See `info wydawca notification', for an explanation. | 90 | # See `info wydawca notification', for an explanation. |
108 | ############################################################################# | 91 | ############################################################################# |
@@ -300,4 +283,22 @@ The Project Submission Robot | |||
300 | EOT; | 283 | EOT; |
301 | } | 284 | } |
302 | 285 | ||
286 | ############################################################################# | ||
287 | # Configure distribution spools. | ||
288 | # A spool defines where to look for input triplets, and where to | ||
289 | # copy uploaded files. | ||
290 | # | ||
291 | # See `info wydawca spool', for a detailed explanation. | ||
292 | ############################################################################# | ||
293 | |||
294 | spool download { | ||
295 | url ftp://your.domain.net; | ||
296 | source "/home/ftp/incoming/ftp"; | ||
297 | destination "/home/ftp/gnu"; | ||
298 | archive directory { | ||
299 | name "/var/spool/archive"; | ||
300 | backup numbered; | ||
301 | } | ||
302 | } | ||
303 | |||
303 | # End of configuration file | 304 | # End of configuration file |