Skip to content

Commit

Permalink
Merge pull request #49 from thin-edge/feat-default-plugin-config
Browse files Browse the repository at this point in the history
feat: add default log and configuration plugin settings
  • Loading branch information
reubenmiller authored Jan 11, 2024
2 parents 49cd611 + ea2c638 commit d399578
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/thin-edge.io/files/tedge-configuration-plugin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ path = "/etc/tedge/plugins/tedge-log-plugin.toml"
type = "tedge-log-plugin"
user = "tedge"
group = "tedge"
mode = 0o0444
mode = 0o0644
4 changes: 4 additions & 0 deletions recipes/thin-edge.io/steps/00-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ fi

# Persist tedge configuration and related components (e.g. mosquitto)
install -D -m 644 "${RECIPE_DIR}/files/tedge-config.toml" -t /etc/rugpi/state

# Add default plugin configurations
install -D -m 644 -g tedge -o tedge "${RECIPE_DIR}/files/tedge-configuration-plugin.toml" -t /etc/tedge/plugins/
install -D -m 644 -g tedge -o tedge "${RECIPE_DIR}/files/tedge-log-plugin.toml" -t /etc/tedge/plugins/

0 comments on commit d399578

Please sign in to comment.