Skip to content

Commit

Permalink
modify pebble command
Browse files Browse the repository at this point in the history
  • Loading branch information
kelkawi-a committed Oct 10, 2024
1 parent c922b45 commit dd9f0cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_pebble_layer(application_name, context):
"services": {
application_name: {
"summary": application_name,
"command": f"/bin/bash -c {application_name}/airbyte-app/bin/{application_name}",
"command": f"/bin/bash {application_name}/airbyte-app/bin/{application_name}",
"startup": "enabled",
"override": "replace",
# Including config values here so that a change in the
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def create_plan(container_name, storage_type):
"services": {
container_name: {
"summary": container_name,
"command": f"/bin/bash -c {container_name}/airbyte-app/bin/{container_name}",
"command": f"/bin/bash {container_name}/airbyte-app/bin/{container_name}",
"startup": "enabled",
"override": "replace",
"environment": {
Expand Down

0 comments on commit dd9f0cb

Please sign in to comment.