[DRE-commits] [diaspora-installer] 01/08: start diaspora after upgrade
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 38e1d501112f9052695df6e13e5d6567c5de605b
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue May 19 22:44:42 2015 +0530
start diaspora after upgrade
---
debian/postinst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/debian/postinst b/debian/postinst
index 88c6a60..4ff3818 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -54,6 +54,8 @@ case "$1" in
echo "Running migrations..."
su diaspora -s /bin/sh -c 'bundle exec rake db:migrate'
su diaspora -s /bin/sh -c 'bundle exec rake tmp:cache:clear assets:precompile'
+ echo "Starting diaspora..."
+ invoke-rc.d diaspora start
else
if test $(echo "${installed_diaspora_minor_version} < ${diaspora_minor_version}" |bc) -eq 1
--
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