Skip to content

Conversation

@maheshbhatiya73
Copy link
Member

  • Introduced remove-domain command to fully remove a domain setup.
  • Disables and deletes server configuration (Apache/Nginx/Caddy).
  • Removes MySQL user and database using internal SQL executor.
  • Deletes Linux shell user and home directory unless --keep-user is set.
  • Includes safe checks to avoid deleting current logged-in user.
  • Adds modular support via internal/mysql_drop.go.

- Introduced `remove-domain` command to fully remove a domain setup.
- Disables and deletes server configuration (Apache/Nginx/Caddy).
- Removes MySQL user and database using internal SQL executor.
- Deletes Linux shell user and home directory unless `--keep-user` is set.
- Includes safe checks to avoid deleting current logged-in user.
- Adds modular support via `internal/mysql_drop.go`.
@maheshbhatiya73 maheshbhatiya73 merged commit 2099997 into main Jun 19, 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