File 'dispatch'

The dispatch file in your charm is an executable shell script whose responsibility is to execute the src/ file with certain environment variables.

The file is created automatically by charmcraft pack and you can inspect it by unzipping the .charm archive (unzip <charm name>.charm ) or by deploying the charm, SSHing into one its units, and inspecting the charm directory in there (e.g., for unit 0: ls agents/unit-<charm name>-0/charm).

Last updated 5 months ago. Help improve this document in the forum.