Skip to content

Instantly share code, notes, and snippets.

@koehn koehn/diaspora-init

Created Dec 16, 2015
What would you like to do?
Required for my `/etc/init.d/diaspora` init script. Put this into `/home/diaspora/diaspora/diaspora-init`.
#!/bin/bash --login
shopt -s expand_aliases
export RAILS_ENV=production
export DB=postgres
cd /home/diaspora/diaspora

This comment has been minimized.

Copy link

xenotropic commented May 3, 2018

Also, a reminder to to make it executable! (I forgot and took me a few minutes to find my mistake). As of 3-May-2018 using Diaspora this works for me for startup but not stop. It reports [OK] but the service keeps running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.