|
|
@ -11,7 +11,8 @@
|
|
|
|
(lcd-shell/bash ctx "/opt/wedder" "lein uberjar"))
|
|
|
|
(lcd-shell/bash ctx "/opt/wedder" "lein uberjar"))
|
|
|
|
|
|
|
|
|
|
|
|
(defn kill-previous [args ctx]
|
|
|
|
(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]
|
|
|
|
(defn deploy [args ctx]
|
|
|
|
(lcd-shell/bash ctx "/opt/wedder" "nohup java -jar target/wedder-0.1.0-SNAPSHOT-standalone.jar"))
|
|
|
|
(lcd-shell/bash ctx "/opt/wedder" "nohup java -jar target/wedder-0.1.0-SNAPSHOT-standalone.jar"))
|
|
|
|