mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
replace '.' with 'source'
This commit is contained in:
parent
4ae76aa2dd
commit
2ff5038c84
@ -6,7 +6,7 @@ source setup/functions.sh # load our functions
|
|||||||
|
|
||||||
# Check system setup: Are we running as root on Ubuntu 14.04 on a
|
# Check system setup: Are we running as root on Ubuntu 14.04 on a
|
||||||
# machine with enough memory? If not, this shows an error and exits.
|
# machine with enough memory? If not, this shows an error and exits.
|
||||||
. setup/preflight.sh
|
source setup/preflight.sh
|
||||||
|
|
||||||
# Ensure Python reads/writes files in UTF-8. If the machine
|
# Ensure Python reads/writes files in UTF-8. If the machine
|
||||||
# triggers some other locale in Python, like ASCII encoding,
|
# triggers some other locale in Python, like ASCII encoding,
|
||||||
@ -48,7 +48,7 @@ chmod +x /usr/local/bin/mailinabox
|
|||||||
# Ask the user for the PRIMARY_HOSTNAME, PUBLIC_IP, PUBLIC_IPV6, and CSR_COUNTRY
|
# Ask the user for the PRIMARY_HOSTNAME, PUBLIC_IP, PUBLIC_IPV6, and CSR_COUNTRY
|
||||||
# if values have not already been set in environment variables. When running
|
# if values have not already been set in environment variables. When running
|
||||||
# non-interactively, be sure to set values for all!
|
# non-interactively, be sure to set values for all!
|
||||||
. setup/questions.sh
|
source setup/questions.sh
|
||||||
|
|
||||||
# Automatic configuration, e.g. as used in our Vagrant configuration.
|
# Automatic configuration, e.g. as used in our Vagrant configuration.
|
||||||
if [ "$PUBLIC_IP" = "auto" ]; then
|
if [ "$PUBLIC_IP" = "auto" ]; then
|
||||||
@ -112,19 +112,19 @@ CSR_COUNTRY=$CSR_COUNTRY
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Start service configuration.
|
# Start service configuration.
|
||||||
. setup/system.sh
|
source setup/system.sh
|
||||||
. setup/ssl.sh
|
source setup/ssl.sh
|
||||||
. setup/dns.sh
|
source setup/dns.sh
|
||||||
. setup/mail-postfix.sh
|
source setup/mail-postfix.sh
|
||||||
. setup/mail-dovecot.sh
|
source setup/mail-dovecot.sh
|
||||||
. setup/mail-users.sh
|
source setup/mail-users.sh
|
||||||
. setup/dkim.sh
|
source setup/dkim.sh
|
||||||
. setup/spamassassin.sh
|
source setup/spamassassin.sh
|
||||||
. setup/web.sh
|
source setup/web.sh
|
||||||
. setup/webmail.sh
|
source setup/webmail.sh
|
||||||
. setup/owncloud.sh
|
source setup/owncloud.sh
|
||||||
. setup/zpush.sh
|
source setup/zpush.sh
|
||||||
. setup/management.sh
|
source setup/management.sh
|
||||||
|
|
||||||
# Write the DNS and nginx configuration files.
|
# Write the DNS and nginx configuration files.
|
||||||
sleep 5 # wait for the daemon to start
|
sleep 5 # wait for the daemon to start
|
||||||
@ -132,7 +132,7 @@ curl -s -d POSTDATA --user $(</var/lib/mailinabox/api.key): http://127.0.0.1:102
|
|||||||
curl -s -d POSTDATA --user $(</var/lib/mailinabox/api.key): http://127.0.0.1:10222/web/update
|
curl -s -d POSTDATA --user $(</var/lib/mailinabox/api.key): http://127.0.0.1:10222/web/update
|
||||||
|
|
||||||
# If there aren't any mail users yet, create one.
|
# If there aren't any mail users yet, create one.
|
||||||
. setup/firstuser.sh
|
source setup/firstuser.sh
|
||||||
|
|
||||||
# Done.
|
# Done.
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user