Skip to content

Commit

Permalink
fix: fix openfga command
Browse files Browse the repository at this point in the history
  • Loading branch information
nsklikas committed Oct 19, 2023
1 parent 6305066 commit ef24ae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def _update_workload(self, event):
SERVICE_NAME: {
"override": "merge",
"summary": "OpenFGA",
"command": "sh -c '/app/openfga run | tee {LOG_FILE}'",
"command": "sh -c 'openfga run | tee {LOG_FILE}'",
"startup": "disabled",
"environment": env_vars,
}
Expand Down Expand Up @@ -555,7 +555,7 @@ def _on_schema_upgrade_action(self, event):

migration_process = container.exec(
command=[
"/app/openfga",
"openfga",
"migrate",
"--datastore-engine",
"postgres",
Expand Down

0 comments on commit ef24ae6

Please sign in to comment.