| 1 |
Configuring Pwman3 |
| 2 |
================== |
| 3 |
|
| 4 |
By default Pwman3 will read the configuration file from the following path on Unix like systems:: |
| 5 |
|
| 6 |
~/.config/pwman/config |
| 7 |
|
| 8 |
On windows the configuration is found in ``%APPDATA/pwman/%`` |
| 9 |
|
| 10 |
You can override this by giving the ``-c <Config File>`` at the commnad line |
| 11 |
when starting Pwman3. |
| 12 |
|
| 13 |
The configuration file has the following structure:: |
| 14 |
|
| 15 |
[Section] |
| 16 |
Option = Value |
| 17 |
|
| 18 |
The following is an example default config file:: |
| 19 |
|
| 20 |
[Readline] |
| 21 |
history = <PWMAN_DATA_DIR>/history |
| 22 |
|
| 23 |
[Global] |
| 24 |
save = True |
| 25 |
colors = yes |
| 26 |
cp_timeout = 5 |
| 27 |
umask = 0100 |
| 28 |
cls_timeout = 10 |
| 29 |
xsel = /usr/bin/xsel |
| 30 |
lock_timeout = 60 |
| 31 |
|
| 32 |
[Database] |
| 33 |
filename = sqlite:///<PWMAN_DATA_DIR>/pwman.db` |
| 34 |
|
| 35 |
[Updater] |
| 36 |
supress_version_check = no |
| 37 |
client_info = ee5cd64310568736b971e3fb7c7064a4459b99a2b78672515fd0f06c82f65d5 |
| 38 |
|
| 39 |
On Windows ``PWMAN_DATA_DIR`` is ``%APPDATA/pwman/%`` on Unix like systems it is |
| 40 |
|
| 41 |
``~/.local/share/pwman/``. |
| 42 |
|
| 43 |
|
| 44 |
A detailed table of all configuration parameters is found in :py:class:`pwman.util.config.Config`. |
| 45 |
|
| 46 |
|