diff --git a/README.md b/README.md new file mode 100644 index 0000000..f724222 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +[![Docker Repository on Quay](https://quay.io/repository/cwtv/concierge/status "Docker Repository on Quay")](https://quay.io/repository/cwtv/portier) +[![Travis Pipelines](https://api.travis-ci.org/chaoswest-tv/concierge.svg?branch=master)](https://travis-ci.org/github/chaoswest-tv/concierge) + +# Concierge diff --git a/main.py b/main.py index 0509915..5ac7977 100644 --- a/main.py +++ b/main.py @@ -6,10 +6,12 @@ app = Celery('tasks', broker='redis://localhost') print(server.supervisor.getState()) + @app.task def start_restream(name): print(name) + @app.task def stop_restream(name): print(name)