[DRE-commits] [diaspora] 175/257: make https as default
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sun Apr 12 14:17:22 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 5a9d64327c4629c2263ea751c5b8895f4b56151b
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Fri Nov 28 17:07:38 2014 +0530
make https as default
---
debian/postinst | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/postinst b/debian/postinst
index 8943875..0f544ff 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -77,7 +77,7 @@ case "$1" in
# source diaspora variables
. /etc/diaspora.conf
- export ENVIRONMENT_URL=http://${SERVERNAME}
+ export ENVIRONMENT_URL=https://${SERVERNAME}
echo "Verifying we have all required libraries..."
sudo -u diaspora -E bundle install --local
echo "Initializing database..."
@@ -87,6 +87,8 @@ case "$1" in
sudo -u diaspora touch public/source.tar.gz
echo "Starting diaspora service..."
sudo -u diaspora -E nohup ./script/server &
+ echo "Copy $SERVERNAME-bundle.pem and $SERVERNAME.key to /etc/diaspora/ssl"
+ echo "And reload nginx, run # systemctl reload nginx.service"
echo "visit your pod at $ENVIRONMENT_URL"
echo "To stop diaspora, run # killall -9 unicorn_rails foreman sidekiq"
echo "To see the service status, run # tail -f /usr/share/diaspora/nohup.out"
--
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