mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 22:32:15 +00:00
12 lines
217 B
Bash
Executable File
12 lines
217 B
Bash
Executable File
#!/bin/bash
|
|
|
|
PIDFILE='auth.pid'
|
|
|
|
if [ -f $PIDFILE ]; then
|
|
kill `cat -- $PIDFILE`
|
|
rm -f -- $PIDFILE
|
|
fi
|
|
|
|
source ./env/bin/activate
|
|
./manage.py runfcgi daemonize=false pidfile=$PIDFILE host=127.0.0.1 port=9981 &
|