virtual-appliance/drupal/firstboot.start
Albert Hopkins b722b1a70b Don't make settings.php world-writable as the official Drupal docs say.
Gentoo's webapp-config already handle's this smartly.
2011-07-15 06:42:26 +00:00

10 lines
265 B
Bash
Executable File

#!/bin/sh
DPVER=7.4
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