diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2018-06-12 16:38:07 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2018-06-13 16:34:58 +0200 |
| commit | 93bc605eef6c4ee7614b5eb47ac87fe12c17f3c5 (patch) | |
| tree | a3d635fa81ea47eaa75dfceb9a67edb046d411f7 | |
| parent | 68a3be0182166a867d4c65488a332f396f7b3277 (diff) | |
| download | mullvadvpn-93bc605eef6c4ee7614b5eb47ac87fe12c17f3c5.tar.xz mullvadvpn-93bc605eef6c4ee7614b5eb47ac87fe12c17f3c5.zip | |
Update path section in README
| -rw-r--r-- | README.md | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -242,9 +242,11 @@ A list of file paths written to and read from by the various components of the M On Windows, when a process runs as a system service the variable `%APPDATA%` expands to `C:\Windows\system32\config\systemprofile\AppData\Roaming`. +All directory paths are defined in, and fetched from, the `mullvad-paths` crate. + #### Settings -The directory and full path to the settings file is defined in `mullvad-daemon/src/settings.rs` +The settings directory can be changed by setting the `MULLVAD_SETTINGS_DIR` environment variable. | Platform | Path | |----------|------| @@ -254,18 +256,17 @@ The directory and full path to the settings file is defined in `mullvad-daemon/s #### Logs -| Platform | Path | Defined in | -|----------|------|------------| -| Linux | `/var/log/mullvad-daemon/` + systemd | `dist-assets/linux/mullvad-daemon.service` | -| macOS | `/var/log/mullvad-daemon/` | `dist-assets/pkg-scripts/postinstall` | -| Windows | `C:\ProgramData\Mullvad VPN\` | `mullvad-daemon/src/system_service.rs` | +The log directory can be changed by setting the `MULLVAD_LOG_DIR` environment variable. -The log directories are also defined in the `problem-report` source code. +| Platform | Path | +|----------|------| +| Linux | `/var/log/mullvad-daemon/` + systemd | +| macOS | `/var/log/mullvad-daemon/` | +| Windows | `C:\ProgramData\Mullvad VPN\` | #### Cache -The daemon caches relay server list and DNS lookups etc. The path to the cache dir is defined in -`mullvad-daemon/src/cache.rs` +The cache directory can be changed by setting the `MULLVAD_CACHE_DIR` environment variable. | Platform | Path | |----------|------| @@ -275,7 +276,8 @@ The daemon caches relay server list and DNS lookups etc. The path to the cache d #### RPC address file -The path to the RPC address file is defined in `mullvad-ipc-client/src/lib.rs` +The full path to the RPC address file can be changed by setting the `MULLVAD_RPC_ADDRESS_PATH` +environment variable. | Platform | Path | |----------|------| |
