feat: ship native boss android console
This commit is contained in:
14
scripts/install-server-mail.sh
Executable file
14
scripts/install-server-mail.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/zsh
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
SERVER_WRAPPER="${BOSS_SERVER_WRAPPER:-$HOME/.codex/skills/boss-server-debug/scripts/server_ssh.sh}"
|
||||
REMOTE_DIR="${BOSS_REMOTE_DIR:-/opt/boss}"
|
||||
|
||||
if [[ ! -x "${SERVER_WRAPPER}" ]]; then
|
||||
echo "Boss server wrapper not found: ${SERVER_WRAPPER}" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
"${ROOT_DIR}/scripts/deploy-server.sh"
|
||||
"${SERVER_WRAPPER}" exec "sudo bash ${REMOTE_DIR}/deployment/mail/install-postfix-dovecot.sh"
|
||||
Reference in New Issue
Block a user