Commit 68e24cf2 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

monitor: add access to instance log directory if it exists

parent 8f9101c2
...@@ -170,6 +170,12 @@ recipe = plone.recipe.command ...@@ -170,6 +170,12 @@ recipe = plone.recipe.command
command = ln -s $${:source} $${monitor-directory:private-directory} command = ln -s $${:source} $${monitor-directory:private-directory}
source = source =
[monitor-instance-log-access]
recipe = plone.recipe.command
command = if [ -d $${:source} ]; then ln -s $${:source} $${monitor-directory:private-directory}/instance-logs; fi
update-command = if [ -d $${:source} ]; then ln -s $${:source} $${monitor-directory:private-directory}/instance-logs; fi
source = $${monitor-directory:home}/.slapgrid/log/
[cadirectory] [cadirectory]
recipe = slapos.cookbook:mkdirectory recipe = slapos.cookbook:mkdirectory
requests = $${monitor-directory:ca-dir}/requests/ requests = $${monitor-directory:ca-dir}/requests/
......
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