wedder-kill-previous is always successful

master
Josha von Gizycki 6 years ago
parent 7605b849ec
commit 13d6d6ab2e

@ -11,7 +11,8 @@
(lcd-shell/bash ctx "/opt/wedder" "lein uberjar"))
(defn kill-previous [args ctx]
(lcd-shell/bash ctx (:cwd args) "pkill -f wedder"))
(lcd-shell/bash ctx (:cwd args) "pkill -f wedder")
{:status :success})
(defn deploy [args ctx]
(lcd-shell/bash ctx "/opt/wedder" "nohup java -jar target/wedder-0.1.0-SNAPSHOT-standalone.jar"))

Loading…
Cancel
Save