aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-04-29 22:56:35 +0300
committerSergey Poznyakoff <gray@gnu.org>2020-04-29 22:58:41 +0300
commit40c0dbacb40fbd5fa3d1f92e18c99f38004aa0d0 (patch)
treec6ac849c0c0c3b6cd817816d8d8668cba4f14f15 /etc
parentb371ef0485a1df2430e953d3950fa4d3995e6455 (diff)
downloadwydawca-40c0dbacb40fbd5fa3d1f92e18c99f38004aa0d0.tar.gz
wydawca-40c0dbacb40fbd5fa3d1f92e18c99f38004aa0d0.tar.bz2
Minor change
Diffstat (limited to 'etc')
-rw-r--r--etc/wydawca.conf43
1 files changed, 29 insertions, 14 deletions
diff --git a/etc/wydawca.conf b/etc/wydawca.conf
index 552dd27..174368f 100644
--- a/etc/wydawca.conf
+++ b/etc/wydawca.conf
@@ -14,7 +14,8 @@
You should have received a copy of the GNU General Public License along
with wydawca. If not, see <http://www.gnu.org/licenses/>. */
-/* Configure logging via syslog.
+/*
+ * Configure logging via syslog.
* For more info, run `info wydawca syslog'.
*/
syslog {
@@ -23,10 +24,13 @@ syslog {
print-priority yes;
}
-/* Enable statistics output at the end of the run.
+/*
+ * Enable periodic statistic reports.
* For more info, run `info wydawca statistics'.
*/
statistics all;
+/* Schedule statistic reports each four hours. */
+stat-report-schedule "0 */4 * * *";
/* Remove any stray files that are more than an hour old. */
file-sweep-time "1 hour";
@@ -34,13 +38,15 @@ file-sweep-time "1 hour";
/* Set default umask. */
umask 022;
-/* Set the name of the tar binary. This is optional.
+/*
+ * Set the name of the tar binary. This is optional.
* See `info wydawca archivation', for more info.
*/
tar-program "/bin/tar";
-/* Configure SQL databases.
- See `info wydawca sql'.
+/*
+ * Configure SQL databases.
+ * See `info wydawca sql'.
*/
sql default {
host "localhost:/tmp/mysql.sock";
@@ -49,7 +55,8 @@ sql default {
password "guessme";
}
-/* Configure dictionaries.
+/*
+ * Configure dictionaries.
* Run `info wydawca dictionaries', for the detailed description of these.
* The provided ones use Savane database structure.
*/
@@ -79,7 +86,8 @@ dictionary project-uploader {
params (default);
}
-/* Configure email notifications
+/*
+ * Configure email notifications
* See `info wydawca notification', for a description.
*/
module mailutils mod_mailutils.so;
@@ -162,7 +170,8 @@ EOT;
}
}
-/* Notify project admin, if someone non authorized attempted to upload some
+/*
+ * Notify the project admin, if someone non authorized attempted to upload some
* files for the project they run.
*/
notify-event {
@@ -191,7 +200,8 @@ EOT;
}
}
-/* Notify the project admin, if submitted directive signature did not match
+/*
+ * Notify the project admin, if submitted directive signature did not match
* any of the submitter records.
*/
notify-event {
@@ -217,7 +227,8 @@ EOT;
}
}
-/* Notify the user (submitter), if the detached signature did not match
+/*
+ * Notify the user (submitter), if the detached signature did not match
* his record.
* It may be a good idea not to notify users about such events, just to
* stay on a safe side. Notifying project admins (see below) should be quite
@@ -250,7 +261,8 @@ EOT;
}
}
-/* Notify the project admin, if submitted detached signature did not match
+/*
+ * Notify the project admin, if submitted detached signature did not match
* submitter record.
*/
notify-event {
@@ -276,7 +288,8 @@ EOT;
}
}
-/* Notify both the submitter and the project owner about uploads
+/*
+ * Notify both the submitter and the project owner about uploads
* that did not pass distribution verification (see check-script below).
* The X-Wydawca-Uploader header supplies additional information for the
* project owner about the user who did the upload.
@@ -310,7 +323,8 @@ notify-event {
module mailutils;
}
-/* Make sure the distributed tarball does not contain security vulnerabilities
+/*
+ * Make sure the distributed tarball does not contain security vulnerabilities
* CVE-2012-3386 and CVE-2009-4029. Reject it, if it does.
* See `info wydawca verification', for a description of check-script.
*
@@ -359,7 +373,8 @@ esac
exit 0
EOT;
-/* Configure distribution spools.
+/*
+ * Configure distribution spools.
* A spool defines where to look for input triplets, and where to
* copy uploaded files.
*

Return to:

Send suggestions and report system problems to the System administrator.