[Unit] Description=Maya OS Celery Worker (Chat, Notifications & Scheduled Maintenance) After=network-online.target mysql.service redis-server.service [Service] Type=simple User=mayaos Group=mayaos WorkingDirectory=/srv/maya-os/backend EnvironmentFile=/srv/maya-os/.env ExecStart=/srv/maya-os/backend/.venv/bin/celery -A config worker -Q chat_notifications,maintenance_scheduled -c 4 -l info --hostname=chat@%%h Restart=always RestartSec=10 KillSignal=SIGTERM TimeoutStopSec=45 [Install] WantedBy=multi-user.target