diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index 35d8d420a..06d929a3c 100755
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -337,6 +337,10 @@ if is_service_enabled zaqar-websocket || is_service_enabled zaqar-wsgi; then
     if [[ "$1" == "unstack" ]]; then
         stop_zaqar
     fi
+
+    if [[ "$1" == "clean" ]]; then
+        cleanup_zaqar
+    fi
 fi
 
 # Restore xtrace