diff --git a/src/main.rs b/src/main.rs index ed08703..20b8651 100644 --- a/src/main.rs +++ b/src/main.rs @@ -24,8 +24,9 @@ use std::path::PathBuf; #[cfg(feature = "autostart")] use std::process::{Command, Stdio}; use std::sync::Arc; +use systemd::is_systemd_used; #[cfg(feature = "systemd")] -use systemd::{get_systemd_env, is_systemd_used, spawn_scope}; +use systemd::{get_systemd_env, spawn_scope}; use tokio::signal::unix::{SignalKind, signal}; use tokio::sync::mpsc::{Receiver, Sender}; use tokio::sync::{Mutex, oneshot};