Skip to content

feat: add restart command and --watch to configure#34

Merged
hailangvn merged 3 commits into
mainfrom
feat/restart-command
Jun 3, 2026
Merged

feat: add restart command and --watch to configure#34
hailangvn merged 3 commits into
mainfrom
feat/restart-command

Conversation

@nilshamerlinck
Copy link
Copy Markdown
Contributor

Summary

  • Add deploy restart <instance> command that restarts the systemd user unit
  • Add --watch flag to deploy restart to stream journalctl logs after restarting
  • Add --watch flag to deploy configure to stream journalctl logs after a successful setup

Test plan

  • deploy restart <instance> calls systemctl --user restart <instance>
  • deploy restart <instance> --watch streams journalctl --user -u <instance> -f
  • deploy configure <instance> --watch streams logs after setup completes
  • Ctrl+C during --watch exits cleanly with code 0
  • Unit tests: make test — 35 passed

🤖 Generated with Claude Code

nilshamerlinck and others added 3 commits June 2, 2026 18:38
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nilshamerlinck nilshamerlinck requested a review from hailangvn June 2, 2026 13:44
Copy link
Copy Markdown
Collaborator

@hailangvn hailangvn left a comment

Choose a reason for hiding this comment

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

Thanks for the work. LGTM.

@hailangvn hailangvn merged commit 4f62719 into main Jun 3, 2026
7 checks passed
@hailangvn hailangvn deleted the feat/restart-command branch June 3, 2026 03:56
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.

2 participants