From: Thierry Parmentelat Date: Fri, 8 Jan 2010 12:11:09 +0000 (+0000) Subject: turn off native drupal user registration upon service plc (re)start X-Git-Tag: MyPLC-4.3-37~2 X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=da4b7b801a7d425595254198a4123ea00304a46b turn off native drupal user registration upon service plc (re)start --- diff --git a/plc.d/db b/plc.d/db index 80c4009..1fb2796 100755 --- a/plc.d/db +++ b/plc.d/db @@ -125,9 +125,13 @@ case "$1" in psql -U $PLC_DB_USER -c "UPDATE persons SET email='$PLC_API_MAINTENANCE_USER' WHERE person_id=1" $PLC_DB_NAME # Update the Drupal site_name variable + # also turn off drupal native user registration psql -U $PLC_DB_USER drupal <