Repository navigation
fix(gateway): install/manage OpenShell gateway service for reboot persistence #6907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| [Unit] | ||
| Description=OpenShell Docker-driver gateway (NemoClaw-managed) | ||
| After=network.target | ||
|
|
||
| [Service] | ||
| EnvironmentFile=%h/.local/state/nemoclaw/openshell-docker-gateway/gateway.env | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win Keep the unit’s environment-file path aligned with XDG state. This hard-codes 🤖 Prompt for AI Agents |
||
| ExecStart=/usr/local/bin/openshell-gateway | ||
| Restart=on-failure | ||
| RestartSec=3 | ||
|
|
||
| [Install] | ||
| WantedBy=default.target | ||
|
Comment on lines
+11
to
+12
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🩺 Stability & Availability | 🟠 Major | 🏗️ Heavy lift Enable lingering or this does not provide reboot persistence.
#!/bin/sh
loginctl show-user "$USER" -p Linger🤖 Prompt for AI Agents |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Add the required SPDX header.
Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents
Source: Coding guidelines