Skip to content

Commit

Permalink
added deploy to DirectAdmin
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddict committed Dec 20, 2023
1 parent ee95fb1 commit f3c2218
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions deploy/eddict.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,14 @@ eddict_deploy() {
# https://stackoverflow.com/a/42101141
# needed to call ssh_deploy() in ssh.sh
. "$(dirname "$0")/deploy/ssh.sh"
# needed to call directadmin_deploy() in directadmin.sh
. "$(dirname "$0")/deploy/directadmin.sh"

#/usr/local/bin/ssh not working
#/usr/local/bin/ssh: /lib/libc.so.6: version `GLIBC_2.20' not found (required by /usr/local/bin/ssh)
export DEPLOY_SSH_CMD="/usr/bin/ssh -T"

_eddict_directadmin
_eddict_ednas
_eddict_edpihole
_eddict_edbind
Expand Down Expand Up @@ -133,6 +136,16 @@ _eddict_clearvariables() {
return 0
}

# directadmin
_eddict_directadmin() {
_info "Start deploying to Direct Admin"

directadmin_deploy "${CDOMAIN}" "${CKEY}" "${CCERT}" "${CCA}" "${CFULLCHAIN}"

_info "End deploying to Direct Admin"
return 0
}

# ednas
_eddict_ednas() {
_info "Start deploying to ednas"
Expand Down

0 comments on commit f3c2218

Please sign in to comment.