A. Forgot to set
In
I dutifully added this to my script:
However, when I issue the command:
describe_cmd="${name}_describe"
.In
man rc.d
it is written:
Code:
Each script is expected to support at least the following arguments,
which are automatically supported if it uses the run_rc_command()
function:
. . .
describe Print a short description of what the script does.
. . .
I dutifully added this to my script:
Code:
idempiere_describe()
{
echo "This script controls the start and stop of the idempiere process."
}
However, when I issue the command:
service idempiere describe
there is a noticeable delay before the command line prompt returns, but nothing is displayed in the session. So how is _describe
implemented in a service script?