mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-06 05:35:19 +02:00
Allow the poststart.sh script to quit and redirect outputs to log files in /tmp
This commit is contained in:
parent
55125c445f
commit
2aa44a7104
1 changed files with 2 additions and 2 deletions
|
@ -63,9 +63,9 @@ if [ $? -eq 137 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run backend in dev mode
|
# Run backend in dev mode
|
||||||
python manage.py runserver &
|
python manage.py runserver 2>&1 | tee -a /tmp/servers.log >> /tmp/backend.log 2&>1 &
|
||||||
|
|
||||||
cd ../../frontend
|
cd ../../frontend
|
||||||
|
|
||||||
# Run frontend in dev mode
|
# Run frontend in dev mode
|
||||||
npm run dev
|
npm run dev 2>&1 | tee -a /tmp/servers.log >> /tmp/frontend.log 2&>1 &
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue