bundles/postgresql: fix restart dependencies
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
35e4bbf04b
commit
c388d5ea1e
1 changed files with 7 additions and 3 deletions
|
@ -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 = {
|
||||
'postgresql': {
|
||||
'needs': {
|
||||
'pkg_apt:postgresql-11',
|
||||
},
|
||||
'needs': restart_deps,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue