second commit

This commit is contained in:
denis
2026-03-10 13:10:32 +01:00
parent b5cc0106c6
commit 3aac7ff9b9
101 changed files with 22046 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
case "$1" in
start)
cd /home/rpi4/workspace/django-relay-controller/relaycontroller
echo "start workers"
./manage.py start_workers
echo "start celery"
../.venv/bin/celery -A home worker -l info
;;
stop)
echo "stop"
;;
*)
echo "Commande inconnue: $cmd"
exit 2
;;
esac