thang86 commented on issue #6986:
URL:
https://github.com/apache/trafficcontrol/issues/6986#issuecomment-1197671988
This command inculde postintall script
# make sure installed with proper permissions
umask 022
if [[ ! $(su - postgres psql -w -c 'show is_superuser' </dev/null
2>/dev/null) =~ 'on' ]]; then
echo >&2 "postinstall requires the postgres user to have superuser
access to postgresql. Aborting."
exit 1
fi
and document ats for traffic ops have command :
su - postgres -c '/usr/pgsql-13/bin/initdb -A md5 -W' #-W forces the user to
provide a superuser (postgres) password
This conflict command and script included
/opt/traffic_ops/install/bin/postinstall
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]