Bug #1325
closedsome package won't start after install
0%
Description
Confusing though. Starting service but doesn't do anything within the code.
/etc/inc/pkg-utils.inc
} else {
$static_output .= "Writing configuration... ";
update_output_window($static_output);
write_config($changedesc);
$static_output .= "done.\n";
update_output_window($static_output);
$static_output .= "Starting service.\n";
update_output_window($static_output);
if($pkg_info['after_install_info'])
update_output_window($pkg_info['after_install_info']);
}
that line should be remove? if follow what is says "Starting service" then patch below.
This should start package after install
--- /etc/inc/pkg-utils.inc.old 2011-03-05 19:23:38.000000000 +0000
@ -593,6 +593,7
+++ /etc/inc/pkg-utils.inc 2011-03-05 20:22:29.000000000 +0000@
$static_output .= "done.\n";
update_output_window($static_output);
$static_output .= "Starting service.\n";
+ start_service($pkg_info['name']);
update_output_window($static_output);
if($pkg_info['after_install_info'])
update_output_window($pkg_info['after_install_info']);