Commit eeda26cc authored by Marco Mariani's avatar Marco Mariani

provide postgres .pid file for slapreport

parent f2fcfd91
...@@ -85,7 +85,7 @@ mode = 0644 ...@@ -85,7 +85,7 @@ mode = 0644
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/postgres/instance-postgres.cfg.in url = ${:_profile_base_location_}/postgres/instance-postgres.cfg.in
output = ${buildout:directory}/instance-postgres.cfg output = ${buildout:directory}/instance-postgres.cfg
md5sum = f647755490c35e8a4c85561c97893b19 md5sum = 8227a2c382e84ddacc733cf998e6cdc3
mode = 0644 mode = 0644
[instance-postgres-import] [instance-postgres-import]
......
...@@ -214,7 +214,7 @@ path = $${basedirectory:services}/slapmonitor ...@@ -214,7 +214,7 @@ path = $${basedirectory:services}/slapmonitor
[slapreport] [slapreport]
recipe = slapos.cookbook:slapreport recipe = slapos.cookbook:slapreport
pid-file = $${basedirectory:run}/mariadb.pid pid-file = $${postgres-instance:pgdata-directory}/postmaster.pid
database-path = $${basedirectory:log}/slapmonitor.db database-path = $${basedirectory:log}/slapmonitor.db
consumption-log-path = $${basedirectory:log}/instance_consumption.log consumption-log-path = $${basedirectory:log}/instance_consumption.log
logbox-ip = 87.98.152.12 logbox-ip = 87.98.152.12
......
Markdown is supported
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