Fix compilation error when autostart feature is enabled without systemd
This commit is contained in:
parent
2e0ee1b796
commit
81dd888ec9
1 changed files with 2 additions and 1 deletions
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue