Commit 553fd298 authored by Marius David Wieschollek's avatar Marius David Wieschollek
Browse files

Add compose support for halt hook

parent 10a4b670
......@@ -16,11 +16,13 @@ use ESS\Utility\ShellUtility;
class HaltHook {
public function run(AbstractJob $upJob) {
global $output;
global $output, $cfg;
ClassUtility::makeInstance(Command::class, 'docker-compose', 'stop')
ClassUtility::makeInstance(Command::class, 'docker-compose')
->addShortOption('f', $cfg['modules']['docker']['config'])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment