Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 36 lines (27 sloc) 529 Bytes
#!/bin/bash
. /etc/environment
HOME=/home/user
PYENV=$HOME/pyenv/ide
PROJ=$HOME/git/Neutron-IDE
LOGS=$HOME/neutron/logs
mkdir -p "$LOGS"
if [ -f /etc/profile ]
then
. /etc/profile
fi
if [ -f "$HOME/.bash_profile" ]
then
. "$HOME/.bash_profile"
fi
if [ -f "$HOME/.bash_login" ]
then
. "$HOME/.bash_login"
fi
if [ -f "$HOME/.profile" ]
then
. "$HOME/.profile"
fi
source "$PYENV/bin/activate"
cd "$PROJ/neutron"
authbind --deep ./neutronide.py start
./manage.py celeryd 1> "$LOGS/celery.log" 2> "$LOGS/celery.log" &