Skip to content
Commit dfa0b4c8 authored by Chong.Lu@windriver.com's avatar Chong.Lu@windriver.com Committed by Martin Jansa
Browse files

postgresql: move initdb to postgresql-setup



We shouldn't use sysvinit init script to initialize database when use systemd
as the init manager, so split initdb function to postgresql-setup.
Before starting postgresql server, we can use "postgresql-setup initdb" to
initialize the database cluster.

Signed-off-by: default avatarChong Lu <Chong.Lu@windriver.com>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
parent cf2ab9ec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment