#!/bin/sh

if [ "$(whoami)" == "diaspora" ]; then
    cd /usr/share/webapps/diaspora
    source ./.bashrc
    ./script/server &>>/var/log/diaspora.log
else
    echo 'Please run this as the "diaspora" user!'
fi