diff options
author | PradeepKiruvale <PRADEEPKIRUVALE@gmail.com> | 2022-02-04 19:57:56 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-04 19:57:56 +0530 |
commit | 43bf45a3bd868586afe83a645be67f5042d9ac5d (patch) | |
tree | 41d607b64c65750e8e7f7e65fd308f9617b351a2 /configuration/debian/tedge_agent | |
parent | 89f554fbb724cb4b9fe09336d58558cfa76638a1 (diff) |
[699] init/clear agent and mapper sessions (#797)
* add init to tedge_agent
* init mapper
* init mapper and agent postinst
* separate init and clear session functions
* use tokio::mutex instead of std::mutex
* pysys test for agent init
* system test for mapper init session
* use mqtt_channel init/clear session apis
Co-authored-by: Pradeep Kumar K J <pradeepkumar.kj@sofwareag.com>
Diffstat (limited to 'configuration/debian/tedge_agent')
-rw-r--r-- | configuration/debian/tedge_agent/postinst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configuration/debian/tedge_agent/postinst b/configuration/debian/tedge_agent/postinst index 4359aaec..04a42239 100644 --- a/configuration/debian/tedge_agent/postinst +++ b/configuration/debian/tedge_agent/postinst @@ -42,4 +42,6 @@ if command -v systemctl >/dev/null; then fi fi +# Initialize the agent +tedge_agent --init #DEBHELPER# |