diff --git a/pingora-core/Cargo.toml b/pingora-core/Cargo.toml index 947a92cf..b371c1df 100644 --- a/pingora-core/Cargo.toml +++ b/pingora-core/Cargo.toml @@ -75,7 +75,7 @@ lru = { workspace = true, optional = true } daggy = "0.8" [target.'cfg(unix)'.dependencies] -daemonize = "0.5.0" +daemonix = "0.1.0" nix = "~0.24.3" [target.'cfg(windows)'.dependencies] diff --git a/pingora-core/src/server/daemon.rs b/pingora-core/src/server/daemon.rs index 7381fc93..246a486c 100644 --- a/pingora-core/src/server/daemon.rs +++ b/pingora-core/src/server/daemon.rs @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -use daemonize::{Daemonize, Stdio}; +use daemonix::{Daemonize, Stdio}; use log::{debug, error}; use std::ffi::CString; use std::fs::{self, OpenOptions};