Commit 4e9dc26a authored by Alexandre Delanoë's avatar Alexandre Delanoë

Merge branch 'stable' into stable-imt

parents 5e24f36d ab3ba369
#!/bin/bash
# Script to start uwsgi
# TODO do it as sudo or simple user ?
# Creat the log file at current time
FILE="/var/log/gargantext/uwsgi/$(date +%Y%m%d-%H:%M:%S).log"
#touch /var/log/gargantext/uwsgi/$FILE && sudo
sudo uwsgi gargantext.ini --logto $FILE
touch ${FILE}
# add a group here
chmod o+r ${FILE}
# finally start the server with that log file
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