Browse Source

Merge pull request #47 from rzerres/wip-run

update LFS compliance volatile runtime data
pull/50/head
Rodolphe Bréard 4 years ago
committed by GitHub
parent
commit
d8f53d506f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CHANGELOG.md
  2. 2
      Makefile
  3. 2
      acmed/build.rs
  4. 2
      tacd/build.rs

2
CHANGELOG.md

@ -1,4 +1,3 @@
[//]: # (Copyright 2019-2020 Rodolphe Bréard <rodolphe@breard.tf>)
[//]: # (Copying and distribution of this file, with or without modification,)
@ -21,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- The default account directory now is `/var/lib/acmed/accounts`.
- The default certificates and private keys directory now is `/var/lib/acmed/certs`.
- The default for volatile runtime data now is `/run`.
## [0.16.0] - 2020-11-11

2
Makefile

@ -7,7 +7,7 @@ MAN5DIR = $(DATADIR)/man/man5
MAN8DIR = $(DATADIR)/man/man8
SYSCONFDIR = /etc
VARLIBDIR = /var/lib
RUNSTATEDIR = /var/run
RUNSTATEDIR = /run
TARGET_DIR = ./target/$(TARGET)/release
MAN_SRC_DIR = ./man/en
MAN_DST_DIR = $(TARGET_DIR)/man

2
acmed/build.rs

@ -48,7 +48,7 @@ macro_rules! set_cfg_path_if_absent {
macro_rules! set_runstate_path_if_absent {
($name: expr, $default_value: expr) => {{
set_specific_path_if_absent!("RUNSTATEDIR", "/var/run", false, $name, $default_value);
set_specific_path_if_absent!("RUNSTATEDIR", "/run", false, $name, $default_value);
}};
}

2
tacd/build.rs

@ -27,7 +27,7 @@ macro_rules! set_specific_path_if_absent {
macro_rules! set_runstate_path_if_absent {
($name: expr, $default_value: expr) => {{
set_specific_path_if_absent!("RUNSTATEDIR", "/var/run", $name, $default_value);
set_specific_path_if_absent!("RUNSTATEDIR", "/run", $name, $default_value);
}};
}

Loading…
Cancel
Save