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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
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.