Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add post ece command hook #19

Open
thovel opened this issue Nov 21, 2013 · 0 comments
Open

Add post ece command hook #19

thovel opened this issue Nov 21, 2013 · 0 comments

Comments

@thovel
Copy link

thovel commented Nov 21, 2013

It is often needed to automate stuff that happens after the ece script runs. Lets agree on where to put the post command scripts and execute them automatically

We already have:
/usr/share/escenic/ece-scripts/ece.d/ : assemble.sh clean.sh flush.sh info.sh logs.sh publication-resources.sh restart.sh stop.sh top.sh backup.sh deploy.sh help.sh kill.sh package.sh remove-old-log-files.sh start.sh thread-dump.sh versions.sh

what about this:
/usr/share/escenic/ece-scripts/pre-ece.d/deploy/ : 01-schedule-downtime.sh 02-hipchat-start.sh 03-shutdown-varnish.sh
/usr/share/escenic/ece-scripts/post-ece.d/deploy/ : 01-run-bootstrapper.sh 02-start-varnish.sh 03-hipchat-done.sh

or
/usr/share/escenic/ece-scripts/deploy/pre.d/ : 01-schedule-downtime.sh 02-hipchat-start.sh 03-shutdown-varnish.sh
/usr/share/escenic/ece-scripts/deploy/post.d/ : 01-run-bootstrapper.sh 02-start-varnish.sh 03-hipchat-done.sh

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

No branches or pull requests

1 participant