mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
init.d: better
This commit is contained in:
parent
e8bdc0fd7c
commit
17b25aa8a3
@ -45,7 +45,11 @@ generate_program_name()
|
||||
|
||||
generate_pid_name()
|
||||
{
|
||||
echo $PIDFILE_PREFIX$1.pid
|
||||
if [ $NUMBER_OF_PROCESSES -gt 1 ]; then
|
||||
echo $PIDFILE_PREFIX$1.pid
|
||||
else
|
||||
echo $PIDFILE_PREFIX.pid
|
||||
fi
|
||||
}
|
||||
|
||||
specific_log_file_for_each_process()
|
||||
|
Loading…
Reference in New Issue
Block a user