~launchpad-baby-gnu/ubumirror/feature-set-config-and-log-files-from-command-line

Viewing all changes in revision 84.

  • Committer: Daniel Dehennin
  • Date: 2015-02-27 13:29:38 UTC
  • Revision ID: daniel.dehennin@ac-dijon.fr-20150227132938-nuc22toubll3ncol
Set config and log files from command line

This enable the use by normal users without any access to “/etc/” or
“/var/log/” and the mirroring of several debian-like repositories, for
example:

    ./ubuarchive --conf ~/mirror1.conf --log ~/log/mirror1-archive.log
    ./ubucdimage --conf ~/mirror1.conf --log ~/log/mirror1-cdimage.log

    ./uburelease --conf ~/mirror2.conf --log ~/log/mirror2-release.log
    ./ubucdimage --conf ~/mirror2.conf --log ~/log/mirror2-cdimage.log

Here are the options common to all tools:

    -c, --conf  <filename>  Use the configuration file ”<filename>”.
                            Default: “/etc/ubumirror.conf"
    -l, --log   <filename>  Write log to file “<filename>”.
                            Default: “/etc/ubumirror.conf"
    -h, --help              Show this message
    -v, --version           Display version and copyright information
        --copyright         Display copyright information
        --license           Display license information
        --changes           Display ChangeLog information

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: