Add box to logs
This commit is contained in:
parent
ce2ce250e4
commit
2120e76a5c
1 changed files with 8 additions and 0 deletions
|
|
@ -11,6 +11,14 @@ use tokio::sync::mpsc::*;
|
||||||
pub fn initialize_server(config_dir_override: Option<std::path::PathBuf>) -> Result<()> {
|
pub fn initialize_server(config_dir_override: Option<std::path::PathBuf>) -> Result<()> {
|
||||||
do_detach()?;
|
do_detach()?;
|
||||||
|
|
||||||
|
println!(
|
||||||
|
r#"
|
||||||
|
┏━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃Initializing eww daemon┃
|
||||||
|
┗━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||||
|
"#
|
||||||
|
);
|
||||||
|
|
||||||
simple_signal::set_handler(&[simple_signal::Signal::Int, simple_signal::Signal::Term], move |_| {
|
simple_signal::set_handler(&[simple_signal::Signal::Int, simple_signal::Signal::Term], move |_| {
|
||||||
println!("Shutting down eww daemon...");
|
println!("Shutting down eww daemon...");
|
||||||
if let Err(e) = crate::application_lifecycle::send_exit() {
|
if let Err(e) = crate::application_lifecycle::send_exit() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue