Installer support for Ubuntu 15.04

This commit is contained in:
Albert Santoni 2015-03-16 12:22:17 -04:00
parent cca9ba0c36
commit 0eebd182dd
2 changed files with 76 additions and 1 deletions

View file

@ -466,7 +466,10 @@ for i in /etc/init/airtime*.template; do
mv $i ${i%.template}
done
#loudCmd "initctl reload-configuration"
set +e
loudCmd "initctl reload-configuration"
loudCmd "systemctl daemon-reload" #systemd hipsters
set -e
if [ ! -d /var/log/airtime ]; then
loud "\n-----------------------------------------------------"
@ -504,6 +507,9 @@ loud "\n-----------------------------------------------------"
loud " * Configuring PostgreSQL * "
loud "-----------------------------------------------------"
# Ensure postgres is running - It isn't after you install the postgres package on Ubuntu 15.04
loudCmd "service postgresql start"
setupAirtimePostgresUser() {
# here-doc to execute this block as postgres user
su postgres <<'EOF'