Running apt-cacher-ng

Previous | Contents | Next

# Chapter 2: Running apt-cacher-ng

Run "build/apt-cacher-ng -c conf" when configured where conf is the configuration directory. See section 4.2 for details on possible and required contents of this directory.

Most options from the configuration file can also be passed through command line parameters. Just append them with the same format as in the configuration file but without separating spaces inside, e.g.

    Port:4855 ForeGround=1

For convenience, the colon can also be replaced with the equals sign and letter case does not matter, so this is also possible:

    port=4855 foreground:1.