1 | <?php |
||
30 | class StartCommand extends Command { |
||
31 | |||
32 | protected $stack = [ |
||
33 | [ 'command' => 'upgrade:info'], |
||
34 | [ 'command' => 'upgrade:checkSystem'], |
||
35 | [ 'command' => 'upgrade:detect', '--exit-if-none' => '1'], |
||
36 | //[ 'command' => 'upgrade:maintenanceMode', '--on' => '1'], |
||
37 | [ 'command' => 'upgrade:backupDb'], |
||
38 | [ 'command' => 'upgrade:backupData'], |
||
39 | [ 'command' => 'upgrade:checkpoint', '--create' => '1'], |
||
40 | [ 'command' => 'upgrade:preUpgradeRepair'], |
||
41 | [ 'command' => 'upgrade:dbUpgrade', 'simulation' => 'true'], |
||
42 | [ 'command' => 'upgrade:dbUpgrade'], |
||
43 | [ 'command' => 'upgrade:disableNotShippedApps'], |
||
44 | [ 'command' => 'upgrade:executeCoreUpgradeScripts'], |
||
45 | [ 'command' => 'upgrade:upgradeShippedApps'], |
||
46 | [ 'command' => 'upgrade:enableNotShippedApps'], |
||
47 | [ 'command' => 'upgrade:cleanCache'], |
||
48 | [ 'command' => 'upgrade:postUpgradeRepair'], |
||
49 | [ 'command' => 'upgrade:restartWebServer'], |
||
50 | [ 'command' => 'upgrade:updateConfig'], |
||
51 | //[ 'command' => 'upgrade:maintenanceMode', '--off' => '1'], |
||
52 | [ 'command' => 'upgrade:postUpgradeCleanup'], |
||
53 | ]; |
||
54 | |||
55 | protected function configure(){ |
||
61 | |||
62 | protected function execute(InputInterface $input, OutputInterface $output){ |
||
74 | |||
75 | } |
||
76 |