bundles/postgresql: fix restart dependencies
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-03-28 09:39:08 +02:00
parent 35e4bbf04b
commit c388d5ea1e
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -79,11 +79,15 @@ postgres_roles = {
}, },
} }
restart_deps = {
f'file:/etc/postgresql/{postgresql_version}/main/pg_hba.conf',
f'file:/etc/postgresql/{postgresql_version}/main/postgresql.conf',
*{f'pkg_apt:{i}' for i in pkg_apt.keys()},
}
svc_systemd = { svc_systemd = {
'postgresql': { 'postgresql': {
'needs': { 'needs': restart_deps,
'pkg_apt:postgresql-11',
},
}, },
} }