diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index eb8ad18..0874922 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,7 +4,7 @@
-
+
@@ -117,7 +117,7 @@
1768273021451
-
+
@@ -151,7 +151,15 @@
1768311738008
-
+
+
+ 1768312137448
+
+
+
+ 1768312137448
+
+
@@ -174,6 +182,7 @@
-
+
+
\ No newline at end of file
diff --git a/src/index.ts b/src/index.ts
index bd3fd7c..50bf386 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,5 +1,14 @@
import {startAPi} from "./api/start.js";
+import {logger} from "./logging/logger.js";
+// Determine and log the operation mode first:
+// Controller and api share the same code base
+// but may run independently
+
+if (process.env.DRY_RUN) {
+ logger.info("Dry run mode - exiting directly without starting anything")
+ process.exit(0)
+}
startAPi()