mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 04:59:30 +00:00
Refactor init command to use full-cleanup option
This commit is contained in:
@@ -20,9 +20,9 @@ class Init extends Command
|
|||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
$this->alive();
|
$this->alive();
|
||||||
$init = $this->option('init');
|
$full_cleanup = $this->option('full-cleanup');
|
||||||
if ($init) {
|
if ($full_cleanup) {
|
||||||
echo "Running init cleanups.\n";
|
echo "Running init cleanupsg.\n";
|
||||||
|
|
||||||
// Required for falsely deleted coolify db
|
// Required for falsely deleted coolify db
|
||||||
$this->restore_coolify_db_backup();
|
$this->restore_coolify_db_backup();
|
||||||
|
|||||||
Reference in New Issue
Block a user