[Unit] Description=WebSocket Server pipe for all BEE data After=network-online.target redis-server.service Wants=network-online.target Requires=redis-server.service StartLimitIntervalSec=500 StartLimitBurst=5 [Service] Type=simple WorkingDirectory=/var/www/html EnvironmentFile=/opt/.env EnvironmentFile=-/etc/razgar/bee-worker.env ExecStart=/opt/razgar-bee-venv/bin/python /var/www/html/ws/main.py StandardOutput=append:/var/log/bee_ws_server.log StandardError=append:/var/log/bee_ws_server.log Restart=on-failure RestartSec=5s [Install] WantedBy=default.target