[DRE-commits] [diaspora-installer] 01/02: now init script is ready for start/stop/status
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Fri Dec 26 12:07:56 UTC 2014
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository diaspora-installer.
commit cd59396a4a0fe4361bba35fc5ccc2ce97a654665
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Thu Dec 25 20:12:40 2014 +0530
now init script is ready for start/stop/status
---
debian/postinst | 4 ----
1 file changed, 4 deletions(-)
diff --git a/debian/postinst b/debian/postinst
index 359b7e6..5b571e1 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -86,13 +86,9 @@ case "$1" in
then
echo Diaspora::Application.config.secret_token = \'$(sudo -u diaspora -E bundle exec rake secret)\' >> ${diaspora_home}/config/initializers/secret_token.rb
fi
- 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 # /etc/init.d nginx reload"
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 ${diaspora_home}/nohup.out"
;;
abort-upgrade|abort-remove|abort-deconfigure)
--
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