move out concierge stub to repo, restructure

This commit is contained in:
Jan Koppe 2020-04-15 21:20:30 +02:00
parent 6d73ac9dc3
commit 97135c90a5
Signed by: thunfisch
GPG Key ID: BE935B0735A2129B
35 changed files with 1 additions and 31 deletions

View File

@ -3,7 +3,7 @@ python:
- "3.7" - "3.7"
- "3.8" - "3.8"
install: install:
- pip install -r portier/requirements.txt - pip install -r requirements.txt
- pip install flake8 - pip install flake8
script: script:
- flake8 - flake8

View File

@ -1,15 +0,0 @@
from celery import Celery
from xmlrpc.client import ServerProxy
server = ServerProxy('http://localhost:9001/RPC2')
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)

View File

@ -1,15 +0,0 @@
from celery import Celery
from xmlrpc.client import ServerProxy
server = ServerProxy('http://localhost:9001/RPC2')
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)