mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Update v2 script
This commit is contained in:
parent
ac1cc95e82
commit
61b24207fe
1 changed files with 8 additions and 9 deletions
|
@ -68,9 +68,8 @@ echo "======== Checking domain ========"
|
|||
DOMAIN=$(hostname -d)
|
||||
if [[ "${DOMAIN:-1}" = 1 ]]
|
||||
then
|
||||
echo "======== Installation failed ========"
|
||||
echo "Configure your domain name please"
|
||||
exit $ERR_IMPOSSIBLE
|
||||
hostname yunohost.yunohost.org
|
||||
DOMAIN='yunohost.org'
|
||||
fi
|
||||
|
||||
whiptail --title "Yunohost Installation" --yesno "Caution : your config files for postfix,dovecot,mysql,apache,prosody,radicale will be overwritten\nDo you want to proceed install of Yunohost?" 8 78
|
||||
|
@ -143,7 +142,7 @@ then
|
|||
service apache2 restart
|
||||
service dovecot restart
|
||||
service postfix restart
|
||||
service prosody restart
|
||||
service metronome restart
|
||||
service iptables start
|
||||
service nscd restart
|
||||
service nslcd restart
|
||||
|
|
Loading…
Add table
Reference in a new issue