X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plc.d%2Fpostgresql;h=1139af441be40c33b4b5a5cbf89cfb120e0d7224;hb=0d4fbeb67b0e811e773578736a632f06e7ecce3a;hp=989cd7ee2db6492a618d26a3a17b6dd71d445e3f;hpb=4e770b3cf4e6b16150fd479ace9854eaee3399b6;p=plcapi.git diff --git a/plc.d/postgresql b/plc.d/postgresql index 989cd7e..1139af4 100755 --- a/plc.d/postgresql +++ b/plc.d/postgresql @@ -153,7 +153,7 @@ case "$1" in PLC_DB_PASSWORD=$(uuidgen) plc-config --category=plc_db --variable=password --value="$PLC_DB_PASSWORD" --save=$local_config $local_config #service plc reload - reload force + plc_reload force fi if ! psql -U $PLC_DB_USER -c "" template1 >/dev/null 2>&1 ; then psql -U postgres -c "CREATE USER $PLC_DB_USER PASSWORD '$PLC_DB_PASSWORD'" template1