virtual-appliance/drupal/firstboot.start

10 lines
266 B
Bash
Executable File

#!/bin/sh
DPVER=7.10
echo Configuring Postgres for Drupal
createuser --no-adduser --no-createdb --no-createrole -U postgres drupal
createdb --encoding=UNICODE --owner=drupal -U postgres drupal
mv /etc/local.d/firstboot.start /etc/local.d/firstboot.start.disabled