summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJoker <mac-joker@users.noreply.github.com>2014-11-17 00:46:48 +0100
committerJoker <mac-joker@users.noreply.github.com>2014-11-17 10:28:20 +0100
commit6c207c9c6886033980e78d48493bbf522da4b964 (patch)
tree3931483fc7f8c2e0031e0d3cf2e5f182a2c0d164 /README
parent527478d318d6f9ac0ab89c774f1c72009677d24a (diff)
downloadlibfaketime-6c207c9c6886033980e78d48493bbf522da4b964.tar.gz
Custom timestamp filename added: ~/.faketimerc alternative
Diffstat (limited to 'README')
-rw-r--r--README11
1 files changed, 6 insertions, 5 deletions
diff --git a/README b/README
index 2a31142..80600fb 100644
--- a/README
+++ b/README
@@ -169,14 +169,15 @@ will be loaded, but just report the real system time. There are three
ways to specify the faked time:
a) By setting the environment variable FAKETIME.
-b) By using the file .faketimerc in your home directory.
-c) By using the file /etc/faketimerc for a system-wide default.
+b) By using the file given in the environment variable FAKETIME_TIMESTAMP_FILE
+c) By using the file .faketimerc in your home directory.
+d) By using the file /etc/faketimerc for a system-wide default.
-If you want to use b) or c), $HOME/.faketimerc or /etc/faketimerc consist of
+If you want to use b) c) or d), $HOME/.faketimerc or /etc/faketimerc consist of
only one line of text with exactly the same content as the FAKETIME environment
variable, which is described below. Note that /etc/faketimerc will only be used
-if there is no $HOME/.faketimerc, and the FAKETIME environment variable always
-has priority over the files.
+if there is no $HOME/.faketimerc nor FAKETIME_TIMESTAMP_FILE file exists, and
+the FAKETIME environment variable always has priority over the files.
4b) Using absolute dates