init.d: better

This commit is contained in:
Pavel Kartavyy 2014-12-09 16:17:38 +03:00
parent e8bdc0fd7c
commit 17b25aa8a3

View File

@ -45,7 +45,11 @@ generate_program_name()
generate_pid_name()
{
if [ $NUMBER_OF_PROCESSES -gt 1 ]; then
echo $PIDFILE_PREFIX$1.pid
else
echo $PIDFILE_PREFIX.pid
fi
}
specific_log_file_for_each_process()