Commit e1ab38b1 authored by delanoe's avatar delanoe

[FIX] Start scripts (file for logs).

parent d9b4a482
#!/bin/bash
FILE=$(date +%Y%m%d-%H:%M:%S.log)
FILE="/var/log/gargantext/celery/$(date +%Y%m%d-%H:%M:%S).log"
source /srv/gargantext_env/bin/activate
touch /var/log/gargantext/celery/$FILE && ./manage.py celery worker -f $FILE
./manage.py celery worker -f $FILE
#!/bin/bash
FILE=$(date +%Y%m%d-%H:%M:%S.log)
touch /var/log/gargantext/uwsgi/$FILE && sudo uwsgi gargantext.ini --logto $FILE
FILE="/var/log/gargantext/uwsgi/$(date +%Y%m%d-%H:%M:%S).log"
#touch /var/log/gargantext/uwsgi/$FILE && sudo
uwsgi gargantext.ini --logto $FILE
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment