diff options
author | Vincent Ambo <mail@tazj.in> | 2018-06-18T18·12+0200 |
---|---|---|
committer | Vincent Ambo <mail@tazj.in> | 2018-06-18T18·12+0200 |
commit | 7557d8ff5bdb8979a71bf17922e49342f973158c (patch) | |
tree | 006ca8ba40d866d57e4e9977102d0ea2c4fc5d42 | |
parent | 9f29992d03d6bb941a8bfc16a29c4a72a72fc34a (diff) |
refactor(main): Move cursor file to /var/lib/journaldriver
This directory is the default for state directories managed by systemd, which will be the main use-case of journaldriver when running it on NixOS. Relates to nixos/nixpkgs#42134
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 33ca57dddbbe..0f1f11ddda79 100644 --- a/src/main.rs +++ b/src/main.rs @@ -124,7 +124,7 @@ lazy_static! { /// Path to the file in which journaldriver should persist its /// cursor state. static ref POSITION_FILE: PathBuf = env::var("CURSOR_POSITION_FILE") - .unwrap_or("/var/journaldriver/cursor.pos".into()) + .unwrap_or("/var/lib/journaldriver/cursor.pos".into()) .into(); } |