Skip to content
Snippets Groups Projects
Verified Commit 9a5cee2b authored by David Beniamine's avatar David Beniamine
Browse files

Clean running at start

parent bec92f2d
No related branches found
No related tags found
No related merge requests found
...@@ -293,6 +293,9 @@ sub start_daemon(){ ...@@ -293,6 +293,9 @@ sub start_daemon(){
# Handle runtime errors # Handle runtime errors
$SIG{__DIE__} = sub {do_stop(shift,1)}; $SIG{__DIE__} = sub {do_stop(shift,1)};
$SIG{__WARN__} = sub {$Logger->warning(shift)}; $SIG{__WARN__} = sub {$Logger->warning(shift)};
$CFG::CFG{DISKS}{RUNNING}="";
save_config();
notify();
$Logger->info("Daemon opérationnel"); $Logger->info("Daemon opérationnel");
# Read config # Read config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment