We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9bdc31 commit 3221f94Copy full SHA for 3221f94
src/lambdaisland/launchpad.clj
@@ -18,12 +18,12 @@
18
(defonce processes (atom []))
19
20
(defn cleanup [sig]
21
- (println "Received" (str "SIG" sig))
+ (println "[launchpad] Received" (str sig))
22
(doseq [process @processes]
23
- (print "Killing" (.pid process))
+ (print "[launchpad] Killing pid" (str (.pid process) "..."))
24
(flush)
25
(.destroy process)
26
- (println " ->" (.waitFor process))
+ (println (str " exit=" (.waitFor process)))
27
(flush))
28
(System/exit 0))
29
@@ -36,7 +36,6 @@
36
37
(set-signal-handler! "INT" cleanup)
38
(set-signal-handler! "TERM" cleanup)
39
-(set-signal-handler! "KILL" cleanup)
40
41
(def cli-opts
42
[["-h" "--help"]
0 commit comments