[DRE-commits] [diaspora] 197/257: use sudo -i or uuid fails

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Apr 12 14:17:26 UTC 2015


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

praveen pushed a commit to branch master
in repository diaspora.

commit 5cbafd48ae92c39df9680a26e99539bac71bd450
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sun Nov 30 21:26:08 2014 +0530

    use sudo -i or uuid fails
---
 debian/postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/postinst b/debian/postinst
index 341733d..5d697c1 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -86,7 +86,7 @@ case "$1" in
 	sudo -u diaspora -E bundle exec rake assets:precompile
 	sudo -u diaspora  touch public/source.tar.gz
 	echo "Starting diaspora service..."
-	sudo -u diaspora -E nohup ./script/server &
+	sudo -u diaspora -E -i nohup ./script/server &
 	echo "Copy $SERVERNAME-bundle.pem and $SERVERNAME.key to /etc/diaspora/ssl"
 	echo "And reload nginx, run # /etc/init.d  nginx reload"
 	echo "visit your pod at $ENVIRONMENT_URL"

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



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