Installer support for Ubuntu 15.04
This commit is contained in:
parent
cca9ba0c36
commit
0eebd182dd
2 changed files with 76 additions and 1 deletions
8
install
8
install
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue