/etc/kup/kup-server.cfg is in kup-server 0.3.4-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | [paths]
; All of these paths should be disjoint.
; Path for public consumption, e.g. served via http
data_path = /var/lib/kup/pub
;
; This is the path where git trees (for the TAR and DIFF options) are
; available. Those should be readonly for the uploaders.
git_path = /var/cache/git
;
; A common lock file for data_path. No program should modify the
; content in data_path without holding an flock on this file. Should
; be readonly for the uploaders.
lock_file = /run/kup/lock
;
; tmp_path can be either:
;
; a) a directory writable by every user and with the sticky bit set
; (typically mode 1777 or 1770). In that case, DO NOT end the path
; with a slash, or:
; b) A directory containing an empty directory for each user (named for
; that user), owned by that user and mode 700. In this case, DO end
; the path with a slash.
;
; In either case, this directory tree MUST same filesystem as
; $data_path, since the script expects to create files in this directory
; and rename() them into $data_path.
tmp_path = /var/cache/kup/tmp/
;
; A directory containing a GnuPG public keyring for each user, named
; <user>.gpg and readable (but not writable) by that user.
pgp_path = /var/lib/kup/pgp
[limits]
;
; All sizes are in bytes, all times in seconds.
;
; Max size of uploaded data
max_data = 8589934592
;
; Buffer size
bufsiz = 262144
;
; Timeout waiting for a command
timeout_command = 30
;
; Must read at least bufsiz bytes in this timespan
timeout_data = 300
;
; Uncompressing tarballs must take at most this long
timeout_compress = 900
;
; How much CPU time, per compression command, before it is terminated
timeout_compress_cpu = 900
[compressors]
; Specify which compressors to use, separated by comma. These must match the
; file extensions that will be added to the compressed file (after the dot).
use = gz, bz2, xz
;
; Specify paths to each compressor listed above. Each of these must accept
; "-9" as commandline parameter for compression and "-cd" for decompression
; to stdout.
gz = /bin/gzip
bz2 = /bin/bzip2
xz = /usr/bin/xz
|