1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00
wtf/_site/content/posts/configuration.md
2018-04-15 21:58:47 -07:00

1.0 KiB

title, date, draft
title date draft
Configuration 2018-04-15T21:17:16-07:00 false

By default WTF looks in a ~/.wtf/ directory for a YAML file called config.yml. If ~/.wtf/ doesn't exist, WTF will create that directory on start-up, and then display instructions for creating the configuration file.

Config.yml

Example Config Files

A few example config files are provided in the _sample_configs/ directory of the Git repository. To try out WTF quickly, copy simple_config.yml into ~/.wtf/ as config.yml and relaunch WTF. You should see the app launch and display the Security and Status modules.

Custom Configuration Files

To load a custom configuration file (ie: one that's not ~/.wtf/config.yml), pass in the path to configuration file as a parameter on launch:

    $> wtf --config=path/to/custom/config.yml

Example:

    %> wtf --config=~/Documents/monitoring.yml

This is also the easiest way to run multiple instances of WTF, should you want to run multiple independent dashboards.