From a355c2958af1a034c0814ca29f564432ca865a67 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sun, 9 Dec 2018 12:47:16 +0000 Subject: [PATCH] Formatting tweak --- configuration.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configuration.md b/configuration.md index a4fbbe9..60a9604 100644 --- a/configuration.md +++ b/configuration.md @@ -16,22 +16,22 @@ If you installed Yggdrasil through one of the platform packages (i.e. macOS, Deb Otherwise, you can generate a configuration file in the following ways: -- HJSON: `yggdrasil -genconf > /etc/yggdrasil.conf` -- JSON: `yggdrasil -genconf -json > /etc/yggdrasil.conf` +- **HJSON**: `yggdrasil -genconf > /etc/yggdrasil.conf` +- **JSON**: `yggdrasil -genconf -json > /etc/yggdrasil.conf` ## Using Configuration Yggdrasil can accept a configuration file either through `stdin` or by being given a path on the filesystem to a configuration file: -- Using `stdin`: `yggdrasilctl --useconf < /etc/yggdrasil.conf` -- Using file: `yggdrasilctl --useconffile /etc/yggdrasil.conf` +- **Using `stdin`**: `yggdrasilctl --useconf < /etc/yggdrasil.conf` +- **Using file:** `yggdrasilctl --useconffile /etc/yggdrasil.conf` ## Normalising Configuration If you want to see the original format of the configuration file, or convert between HJSON and JSON formats, you can use the `-normaliseconf` option, e.g. -- Convert from HJSON to JSON: `yggdrasilctl -normaliseconf -useconffile /etc/yggdrasil.conf -json` -- Convert from JSON to HJSON: `yggdrasilctl -normaliseconf -useconffile /etc/yggdrasil.conf` +- **Convert from HJSON to JSON**: `yggdrasilctl -normaliseconf -useconffile /etc/yggdrasil.conf -json` +- **Convert from JSON to HJSON**: `yggdrasilctl -normaliseconf -useconffile /etc/yggdrasil.conf` Normalising the configuration also adds any missing configuration items with their default values. This can be useful when upgrading to a newer version of Yggdrasil that adds new configuration options. Many of our distribution packages normalise the configuration automatically during upgrade.