diff --git a/project.clj b/project.clj index f3c105e..b93c9ba 100644 --- a/project.clj +++ b/project.clj @@ -40,8 +40,7 @@ "-H:ResourceConfigurationFiles=graalvm-resource-config.json" "-H:Log=registerResource" "-H:Name=target/graalvm/${:name}"] - "inst" ["shell" "sudo" - "install" - "-m=755" - "target/uberjar/c4k-gitea-standalone.jar" - "/usr/local/bin/c4k-gitea-standalone.jar"]}) + "inst" ["shell" + "sh" + "-c" + "lein uberjar && sudo install -m=755 target/uberjar/c4k-gitea-standalone.jar /usr/local/bin/c4k-gitea-standalone.jar"]}) diff --git a/src/main/cljc/dda/c4k_gitea/gitea.cljc b/src/main/cljc/dda/c4k_gitea/gitea.cljc index c3d6a2b..945977f 100644 --- a/src/main/cljc/dda/c4k_gitea/gitea.cljc +++ b/src/main/cljc/dda/c4k_gitea/gitea.cljc @@ -28,7 +28,7 @@ (<= snd 65535)))))) ;TODO: Maybe move to pred/comma-separated-fqdn-list? (s/def ::service-domain-whitelist #(every? true? (map pred/fqdn-string? (str/split % #",")))) -(s/def ::service-noreply-address pred/fqdn-string?) +(s/def ::service-noreply-address string?) (s/def ::mailer-user pred/bash-env-string?) (s/def ::mailer-pw pred/bash-env-string?) (s/def ::issuer pred/letsencrypt-issuer?)