Skip to content

Conversation

@maheshbhatiya73
Copy link
Member

…ia CLI

This commit introduces the restart-server CLI command to restart supported web servers:

  • Accepts --server flag (apache, nginx, or caddy)
  • Maps to system service names (apache2, nginx, caddy)
  • Uses sudo systemctl restart internally
  • Validates server type and shows appropriate log messages

Improves operational control over web servers from within StackRoost CLI.

…ia CLI

This commit introduces the `restart-server` CLI command to restart supported web servers:

- Accepts --server flag (apache, nginx, or caddy)
- Maps to system service names (apache2, nginx, caddy)
- Uses `sudo systemctl restart` internally
- Validates server type and shows appropriate log messages

Improves operational control over web servers from within StackRoost CLI.
@maheshbhatiya73 maheshbhatiya73 merged commit 8f1c822 into main Jun 27, 2025
1 check passed
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