diff --git a/src/run.clj b/src/run.clj index 89e14f6..dfeb302 100755 --- a/src/run.clj +++ b/src/run.clj @@ -10,7 +10,7 @@ (defn deploy-me [{:keys [project service]}] (and (= 0 (:exit (shell/sh "/usr/bin/git" "pull" :dir (str "/root/repos/" project)))) - (= 0 (:exit (shell/sh "/usr/bin/systemctl" "restart" service))))) + (= 0 (:exit (shell/sh "/usr/bin/env" "./restart.sh" :dir (str "/root/repos/" project)))))) (defn app [req] (try