In HLCS il presence parte all'avvio della raspberry mediante gunicorn:
cat /etc/gunicorn.d/presence
CONFIG = {
# 'mode': 'wsgi',
'working_dir': '/home/pi/presence',
'python': '/usr/local/bin/python3.4',
'args': (
'--bind=0.0.0.0:8000',
'--workers=2',
'--timeout=60',
'--user=root',
'presence.wsgi',
),
}
In HLCS il presence parte all'avvio della raspberry mediante gunicorn:
cat /etc/gunicorn.d/presence
CONFIG = {
# 'mode': 'wsgi',
'working_dir': '/home/pi/presence',
'python': '/usr/local/bin/python3.4',
'args': (
'--bind=0.0.0.0:8000',
'--workers=2',
'--timeout=60',
'--user=root',
'presence.wsgi',
),
}