summaryrefslogtreecommitdiff
path: root/pcr/diaspora-git/diaspora.bin
blob: dfd0d026f7ee0d63ff63d4a2af06f2ba3bc13b9d (plain)
1
2
3
4
5
6
7
8
9
#!/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