joglomedia / LEMPer

LEMPer Stack is terminal-based LEMP / LNMP ( Linux, Nginx, MariaDB, PostgreSQL, MongoDB, Redis, Memcache, PHP, Secure FTP ) installer and virtual host manager for Debian & Ubuntu cloud or virtual server (vps) and on-premise (bare metal).

Home Page:https://lemper.cloud/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[CLI] Removing vhost doesn't fully delete the ```webroot``` directory (Laravel site)

joglomedia opened this issue · comments

Description

An enhancement required for lemper-cli manage --remove command, if user choose to delete webroot directory.

Issues

  • While removing vhost (domain) for specific framework such as Laravel, the command does not fully delete the webroot directory

Expected Behavior

If user choose to delete webroot directory when removing vhost with specific framework (e.g. Laravel and others), the command should delete the web root directory completely not only the public one.

LEMPer Version

2.4.3

System Information

  • OS: Linux Mint 19.3 Tricia x86_64
  • Kernel: 4.15.0-112-generic
  • Shell: bash 4.4.20