virtual-appliance/drupal/firstboot.start

12 lines
313 B
Plaintext
Raw Normal View History

#!/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
chmod a+w /usr/share/webapps/drupal/${DPVER}/htdocs/sites/default/settings.php
mv /etc/local.d/firstboot.start /root