Skip to content

Instantly share code, notes, and snippets.

@johannesberdin
Created August 11, 2016 19:33
Show Gist options
  • Save johannesberdin/9002140ec6d0c8214f4fa9fde9620d38 to your computer and use it in GitHub Desktop.
Save johannesberdin/9002140ec6d0c8214f4fa9fde9620d38 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Arguments
MYSQL_PASSWORD=${1}
SERVER_NAME=${2}
SERVER_ALIAS=${3}
SERVER_ADMIN=${4}
MAIL_ADDRESS=${5}
MAIL_DOMAIN=${6}
MAIL_REPLY_PREFIX=${7}
MAIL_REPLY_DOMAIN=${8}
SMTP_HOST=${9}
SMTP_USER=${10}
SMTP_PASSWORD=${11}
POP3_HOST=${12}
POP3_USER=${13}
POP3_PASSWORD=${14}
echo "$MYSQL_PASSWORD $SERVER_NAME $SERVER_ALIAS $SERVER_ADMIN $MAIL_ADDRESS $MAIL_DOMAIN $MAIL_REPLY_PREFIX $MAIL_REPLY_DOMAIN $SMTP_HOST $SMTP_USER $SMTP_PASSWORD $POP3_HOST $POP3_USER $POP3_PASSWORD" >> /root/args.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment