netom/diaspora-init — pull request #1 by ur5 (2013-09-18 19:11:37+00:00)
Title: adding alternative STARTSCRIPT for postgres users

I just stumbled over this little gotcha. Your script does not work for postgres-users. Maybe there are smarter ways of setting the environment variable. I'm not a shell/start-script expert.