Skip to content

fix: define a start command to avoid restarting the tedge-agent on a reconnect#140

Merged
reubenmiller merged 1 commit intomainfrom
fix-define-init-system-start-command
Jun 4, 2025
Merged

fix: define a start command to avoid restarting the tedge-agent on a reconnect#140
reubenmiller merged 1 commit intomainfrom
fix-define-init-system-start-command

Conversation

@reubenmiller
Copy link
Contributor

The thin-edge.io init system definition file (system.toml) did not have a "start" method defined, which led to the restart command being used by default.

Adding an explicit "start" command avoids unexpected restarts of teh tedge-agent when running tedge reconnect c8y.

@reubenmiller reubenmiller temporarily deployed to Test Pull Request June 4, 2025 13:48 — with GitHub Actions Inactive
Copy link
Member

@rina23q rina23q left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

From the history, it seems very first version of implementation (4 years ago) didn't have start definition. start was added later 2 years ago. So, probably it was missing because of the change...

@github-actions
Copy link

github-actions bot commented Jun 4, 2025

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
35 0 2 35 100 4m13.815999999s

@reubenmiller reubenmiller added this pull request to the merge queue Jun 4, 2025
Merged via the queue into main with commit eeaadb9 Jun 4, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants