[DRE-commits] [diaspora-installer] 05/08: use path in postgres user home

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed May 27 11:01:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch 04x-05x_update
in repository diaspora-installer.

commit 2d2222861d14dcf50d69f02a5e3cf3e9c93cd875
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed May 27 15:34:40 2015 +0530

    use path in postgres user home
---
 debian/diaspora-common.templates | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/diaspora-common.templates b/debian/diaspora-common.templates
index 4a6dd3d..c083ca3 100644
--- a/debian/diaspora-common.templates
+++ b/debian/diaspora-common.templates
@@ -47,6 +47,6 @@ _Description: Backup your database
  .
  Commands to backup and restore database is given below (run as root user):
  .
- # su postgres pg_dump diaspora_production -f diaspora_production.sql
+ # su postgres -c 'pg_dump diaspora_production -f /var/lib/postgresql/diaspora_production.sql'
  .
- # su postgres psql -d diaspora_production -f diaspora_production.sql
+ # su postgres -c 'psql -d diaspora_production -f /var/lib/postgresql/diaspora_production.sql'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora-installer.git



More information about the Pkg-ruby-extras-commits mailing list