Skip to content

Instantly share code, notes, and snippets.

@koehn koehn/diaspora-init
Created Dec 16, 2015

Embed
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
./script/server
@xenotropic

This comment has been minimized.

Copy link

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 0.7.4.1 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.