(no commit message)
[ikiwiki.git] / docs / handbook / handbook-configtuning-appconfig.mdwn
1 \r
2 \r
3 ## Application Configuration \r
4 \r
5 Typically, installed applications have their own configuration files, with their own syntax, etc. It is important that these files be kept separate from the base system, so that they may be easily located and managed by the package management tools.\r
6 \r
7 Typically, these files are installed in `/usr/pkg/etc`. In the case where an application has a large number of configuration files, a subdirectory will be created to hold them.\r
8 \r
9 Normally, when a port or package is installed, sample configuration files are also installed. These are usually identified with a `.default` suffix. If there are no existing configuration files for the application, they will be created by copying the `.default` files.\r
10 \r
11 For example, consider the contents of the directory `/usr/pkg/etc/httpd`:\r
12 \r
13     \r
14     total 90\r
15     -rw-r--r--  1 root  wheel  -   34K Jan 11 12:04 httpd.conf\r
16     -rw-r--r--  1 root  wheel  -   13K Jan 11 12:02 magic\r
17     -rw-r--r--  1 root  wheel  -   28K Jan 11 12:02 mime.types\r
18     -rw-r--r--  1 root  wheel  -   11K Jan 11 12:02 ssl.conf\r
19 \r