Changing MON Pebble Service command to enter the startup directory first 98/13798/5
authorDario Faccin <dario.faccin@canonical.com>
Tue, 1 Aug 2023 15:39:36 +0000 (17:39 +0200)
committerbeierlm <mark.beierl@canonical.com>
Wed, 9 Aug 2023 13:20:43 +0000 (15:20 +0200)
commitdf0501ce624a979cc28c7e184c7529a50e40857e
treef818ea47f67192e81d3183cdaeb45d787d401702
parent027439f8b24c98525475e8f90591c70e053b72fe
Changing MON Pebble Service command to enter the startup directory first

In rockcraft.yaml WORKDIR is not supported, so it needs to be specified in Pebble service definition by using working-dir parameter.
However, working-dir is not supported in Juju 2.9.x. So, we are entering to the startup directory first as a workaround.

Change-Id: I5949b16ce7e28dfb3f235eabd64062a5a185aa9c
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
installers/charm/osm-mon/src/charm.py