From eccac72460be1a7c9e050091b1dfeba76b0e02e7 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Fri, 29 May 2020 12:48:29 +0200 Subject: [PATCH] Fix the default PID file name --- acmed/src/main.rs | 2 +- tacd/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acmed/src/main.rs b/acmed/src/main.rs index fd351e0..01c3ccb 100644 --- a/acmed/src/main.rs +++ b/acmed/src/main.rs @@ -14,7 +14,7 @@ mod storage; pub const APP_NAME: &str = "ACMEd"; pub const APP_VERSION: &str = env!("CARGO_PKG_VERSION"); -pub const DEFAULT_PID_FILE: &str = "/var/run/admed.pid"; +pub const DEFAULT_PID_FILE: &str = "/var/run/acmed.pid"; pub const DEFAULT_CONFIG_FILE: &str = "/etc/acmed/acmed.toml"; pub const DEFAULT_ACCOUNTS_DIR: &str = "/etc/acmed/accounts"; pub const DEFAULT_CERT_DIR: &str = "/etc/acmed/certs"; diff --git a/tacd/src/main.rs b/tacd/src/main.rs index ce57bd3..b0d63eb 100644 --- a/tacd/src/main.rs +++ b/tacd/src/main.rs @@ -11,7 +11,7 @@ use std::io::{self, Read}; const APP_NAME: &str = env!("CARGO_PKG_NAME"); const APP_VERSION: &str = env!("CARGO_PKG_VERSION"); -const DEFAULT_PID_FILE: &str = "/var/run/admed.pid"; +const DEFAULT_PID_FILE: &str = "/var/run/tacd.pid"; const DEFAULT_LISTEN_ADDR: &str = "127.0.0.1:5001"; const ALPN_ACME_PROTO_NAME: &[u8] = b"\x0aacme-tls/1";