Skip to content

Add onExit key to schema for execute any shell command on exit - #11

Open
FelipeBarrosCruz wants to merge 1 commit into
apparatus:masterfrom
FelipeBarrosCruz:master
Open

Add onExit key to schema for execute any shell command on exit#11
FelipeBarrosCruz wants to merge 1 commit into
apparatus:masterfrom
FelipeBarrosCruz:master

Conversation

@FelipeBarrosCruz

@FelipeBarrosCruz FelipeBarrosCruz commented Nov 13, 2017

Copy link
Copy Markdown

onExit key on global schema is a shell script to execute like handler on exit command like docker-compose stop or anything you want to.

fuge_global:
  tail: false
  monitor: false
  monitor_excludes:
    - '**/node_modules/**'
    - '**/.git/**'
    - '**/*.log'
  onExit:
    docker-compose -f docker-compose.yml stop;

@orefalo

orefalo commented Oct 24, 2019

Copy link
Copy Markdown

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants