Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Conversation

dmius
Copy link
Collaborator

@dmius dmius commented Jun 28, 2018

s3-cfg-path renamed to s3cfg-path
help added
use of pg-config implemented

@dmius dmius requested a review from NikolayS June 28, 2018 07:24
Copy link
Collaborator

@NikolayS NikolayS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Всё ок,
табы заменил на пробелы.

Но нужен less как-то при выводе. Иначе текст быстро проскакивает.
В nancy help наверное тоже нужно, хоть там хэлп и небольшой.

Возможно это поможет: https://superuser.com/questions/775941/bash-commands-that-dont-fit-on-one-page-make-output-scrollable

docker_exec bash -c "cat /machine_home/$PG_CONFIG_FILENAME >> /etc/postgresql/$PG_VERSION/main/postgresql.conf"
if [ -z ${TARGET_CONFIG+x} ]
then
docker_exec bash -c "sudo /etc/init.d/postgresql restart"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а где самое применение TARGET_CONFIG? Рестарт вижу, а применения нет..

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Если оно ниже, в строке 676, то зачем рестарт ДО, а не после? Рестарт же для того, чтобы изменения конфига применились.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Чуть ниже, а здес применение в случае если TARGET_CONFIG не задан и больше рестарта не будет... зачем повторный рестарт...

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ну повторный не надо, да, точно достаточно одного

Copy link
Collaborator

@NikolayS NikolayS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Откомментировал ещё момент с рестартом и TARGET_CONFIG

@NikolayS
Copy link
Collaborator

А ещё, вот тут зачем кавычки, они лишние на мой взгляд:

SEE ALSO

  'nancy help'

@dmius dmius merged commit 7212c7e into master Jun 28, 2018
@dmius dmius deleted the dmius-pg-config branch June 28, 2018 16:47
NikolayS pushed a commit that referenced this pull request Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants