diff --git a/exporter/src/app/core.cljs b/exporter/src/app/core.cljs index 34b228436..2efc846ba 100644 --- a/exporter/src/app/core.cljs +++ b/exporter/src/app/core.cljs @@ -44,3 +44,6 @@ (proc/on "uncaughtException" (fn [cause] (js/console.error cause))) + +(proc/on "SIGTERM" (fn [] (proc/exit 0))) +(proc/on "SIGINT" (fn [] (proc/exit 0)))