mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 04:46:18 +00:00
Refactor init command to use full-cleanup option
This commit is contained in:
1 parent
6acc0e6025
commit
48b4c17391
1 file changed
+3
-3
@@ -20,9 +20,9 @@ class Init extends Command
|
||||
public function handle()
|
||||
{
|
||||
$this->alive();
|
||||
$init = $this->option('init');
|
||||
if ($init) {
|
||||
echo "Running init cleanups.\n";
|
||||
$full_cleanup = $this->option('full-cleanup');
|
||||
if ($full_cleanup) {
|
||||
echo "Running init cleanupsg.\n";
|
||||
|
||||
// Required for falsely deleted coolify db
|
||||
$this->restore_coolify_db_backup();
|
||||
|
||||
Reference in new issue
Block a user