Delete debug things, changed if for initctl

This commit is contained in:
Lapotor 2017-04-11 14:36:34 +02:00 committed by GitHub
parent a6d6b8a06c
commit c8a474e1fe
1 changed files with 2 additions and 3 deletions

View File

@ -583,14 +583,14 @@ fi
# Add celery to the www-data group
loudCmd "usermod -G ${web_user} -a celery"
if [ "$dist" = "ubuntu" ] && [ "$code" != "xenial" ] ; then
if [ "$dist" = "ubuntu" ]; then
loudCmd "initctl reload-configuration"
fi
verbose "...Done"
verbose "\n * Installing airtime_analyzer..."
loudCmd "python ${AIRTIMEROOT}/python_apps/airtime_analyzer/setup.py install --install-scripts=/usr/bin"
if [ "$dist" = "ubuntu" ] && [ "$code" != "xenial" ] ; then
if [ "$dist" = "ubuntu" ]; then
loudCmd "initctl reload-configuration"
fi
verbose "...Done"
@ -676,7 +676,6 @@ elif [ "$dist" = "ubuntu" ] && [ "$code" = "xenial" ]; then
loudCmd "a2enmod rewrite"
loudCmd "a2enmod php7.0"
fi
exit
loud "\n-----------------------------------------------------"
loud " * Configuring PostgreSQL * "
loud "-----------------------------------------------------"