You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by dr...@apache.org on 2018/09/13 18:43:19 UTC
[trafficserver] branch master updated: Runroot: Update doc
according to the storage.config change
This is an automated email from the ASF dual-hosted git repository.
dragon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new d81630b Runroot: Update doc according to the storage.config change
d81630b is described below
commit d81630bbc229afe16da7a357dff5cef13ba1410d
Author: Xavier Chi <ch...@gmail.com>
AuthorDate: Thu Sep 13 11:43:06 2018 -0500
Runroot: Update doc according to the storage.config change
---
doc/admin-guide/files/storage.config.en.rst | 7 +++++++
doc/appendices/command-line/traffic_layout.en.rst | 9 +++++++++
2 files changed, 16 insertions(+)
diff --git a/doc/admin-guide/files/storage.config.en.rst b/doc/admin-guide/files/storage.config.en.rst
index d66a271..aa41736 100644
--- a/doc/admin-guide/files/storage.config.en.rst
+++ b/doc/admin-guide/files/storage.config.en.rst
@@ -184,3 +184,10 @@ following rules are stored in :manpage:`devfs.conf(5)`::
# Assign /dev/ada1 and /dev/ada2 to the tserver user
own ada[12] tserver:tserver
+
+Advanced
+--------
+
+Because relative paths in :file:`storage.config` are relative to the base prefix, when using customized runroot
+it may be necessary to adjust such paths in :file:`storage.config` or adjust ``runroot_path.yml`` itself.
+Despite the name, the cachedir value is not used for this file.
diff --git a/doc/appendices/command-line/traffic_layout.en.rst b/doc/appendices/command-line/traffic_layout.en.rst
index a330c8d..8e54d93 100644
--- a/doc/appendices/command-line/traffic_layout.en.rst
+++ b/doc/appendices/command-line/traffic_layout.en.rst
@@ -102,6 +102,11 @@ Below is an example of customized yaml file (custom.yml) to construct. ::
If ``traffic_layout init --layout="custom.yml"`` is executed, a runroot following the format above will be created.
+.. Note::
+
+ :file:`storage.config` does not use the cachedir value, but makes its relatives paths relative to the base prefix.
+ So please update the directory for cache in ``storage.config`` according to the customized runroot.
+
remove
------
Find the sandbox to remove in following order:
@@ -138,6 +143,10 @@ Options
Print usage information and exit.
+.. option:: --path
+
+ Specify the path of runroot for commands (init, remove, verify).
+
init
----
.. option:: --force