* Fixed a typo in anvil-daemon that prevented compiling.

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 2 years ago
parent 110dceb55e
commit 8f375c58a9
  1. 2
      tools/anvil-daemon
  2. 2
      tools/striker-prep-database

@ -545,7 +545,7 @@ sub handle_periodic_tasks
update_state_file($anvil);
# Check shared files.
check_files($anvils);
check_files($anvil);
# Check mail server config.
my $problem = $anvil->Email->check_config({debug => 3});

@ -462,7 +462,7 @@ if ($local_uuid)
# In some cases, the database won't allow connections to the admin user. To deal with this, we'll
# call stop->start on the daemon (reload doesn't fix it).
my $return_code = $anvil->System->stop_daemon({daemon => "postgresql"});
$return_code = $anvil->System->stop_daemon({daemon => "postgresql"});
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { return_code => $return_code }});
$return_code = $anvil->System->start_daemon({daemon => "postgresql"});

Loading…
Cancel
Save