Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Add support event hooks #8

Open
eznix86 opened this issue Dec 14, 2019 · 1 comment
Open

Add support event hooks #8

eznix86 opened this issue Dec 14, 2019 · 1 comment

Comments

@eznix86
Copy link

eznix86 commented Dec 14, 2019

It would be nice to have a custom event hooks for a custom script somewhere in the project.

Sort of like in the nginx:

exec_publish /custom/script/streamHasStarted.sh;
exec_publish_done /srv/nginx/youAreNowLive.sh;
@eznix86
Copy link
Author

eznix86 commented Dec 14, 2019

we could do the setup like you did, only from the docker-compose.yml file.
As such:

CMD_TO_EXEC_ON_PUBLISH:  "/custom/script/streamHasStarted.sh"
CMD_TO_EXEC_ON_PUBLISH_COMPLETE:  "/custom/script/youAreNowLive.sh"

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

No branches or pull requests

1 participant