Skip to content

Configuration file

Krishna Kanhaiya edited this page Dec 30, 2021 · 2 revisions

Configuration file

The default configuration located in ~/.achoz/config.json and it looks like following.

{
  "DirToIndex": [
    "~/Documents", "~/Desktop"
  ],
  "TypesenseHost": "http://localhost:8909",
  "TypesenseApi": "6Y4AVUSiwkNcReCpWFBouK2qbPSWniWXHq8CRaOb",
  "AchozPort": 9097
}

Add directory in config file

In order to add or remove. add directory in DirToIndex variable in list form. you can see above config file as an instance. Add any number of directory here. Make use of command achoz add dir/name/here it is more convenient than manually editing configuration file.

Achoz port

Default port that achoz use for web interface that is 9097. In order to change the port just tweak the AchozPort value in configuration file.

Clone this wiki locally