Skip to content

RDKEMW-17313 : Add /opt/logs copy for appgatewayversion.txt and appmanagersversion.txt#216

Open
kvfasil wants to merge 10 commits into
developfrom
feature/RDKEMW-17313
Open

RDKEMW-17313 : Add /opt/logs copy for appgatewayversion.txt and appmanagersversion.txt#216
kvfasil wants to merge 10 commits into
developfrom
feature/RDKEMW-17313

Conversation

@kvfasil

@kvfasil kvfasil commented May 6, 2026

Copy link
Copy Markdown

No description provided.

@kvfasil kvfasil requested a review from a team as a code owner May 6, 2026 18:50
Copilot AI review requested due to automatic review settings May 6, 2026 18:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates WPEFramework AppGateway and AppManager systemd unit files to capture version information into /opt/logs during service startup.

Changes:

  • Added ExecStartPre to wpeframework-appgateway.service to append /etc/appgatewayversion.txt and /etc/appgatewaycpcversion.txt into /opt/logs/version.txt.
  • Added ExecStartPre to wpeframework-appmanager.service to append /etc/appmanagersversion.txt into /opt/logs/version.txt under a conditional check.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
systemd/system/wpeframework-appmanager.service Adds a pre-start step intended to log AppManager version info to /opt/logs/version.txt.
systemd/system/wpeframework-appgateway.service Adds pre-start steps to log AppGateway (and CPC) version info to /opt/logs/version.txt.

Comment thread systemd/system/wpeframework-appmanager.service Outdated
Comment thread systemd/system/wpeframework-appmanager.service Outdated
Comment thread systemd/system/wpeframework-appgateway.service Outdated
Comment thread systemd/system/wpeframework-appgateway.service Outdated
Comment thread systemd/system/wpeframework-appgateway.service Outdated

@satlead satlead left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Check for not prod

Copilot AI review requested due to automatic review settings May 6, 2026 23:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread systemd/system/wpeframework-appgateway.service Outdated
kvfasil and others added 2 commits May 6, 2026 19:58
…onal execution check

- Update ExecStartPre with simplified absolute path execution
- Rename script to pop_appinfra_version.sh for clarity
- Apply to both AppGateway and AppManager systemd services
- Use '-' prefix to prevent service startup failure if script is missing
Copilot AI review requested due to automatic review settings May 7, 2026 14:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Comment on lines +11 to 12
ExecStartPre=-/usr/bin/pop_appinfra_version.sh
ExecStart=/usr/bin/PluginActivator org.rdk.AppGateway
@@ -8,4 +8,5 @@ ConditionPathExists=/opt/appgatewayenabled
[Service]
Type=oneshot
RemainAfterExit=yes
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