rm "${app}_backup/${db_name}.pgdump"
cd "${app}_backup"
-for path in $/find . -type f); do
+for path in $(find . -type f); do
target_path=$(echo "${path}" | cut -c2-)
source_path=$(realpath "${path}")
dir=$(dirname "${target_path}")
fi
su postgres -lc "psql -c \"ALTER USER ${app} WITH PASSWORD '${db_pw}';\""
-service "${app}" stop
+service "${app}" start