Commit 11255619 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FIX] Start UWSGI script (documentation)

parent 232fdcb1
#!/bin/bash #!/bin/bash
# Script to start uwsgi
# TODO do it as sudo or simple user ?
# Creat the log file at current time # Script to start uwsgi
FILE="/var/log/gargantext/uwsgi/$(date +%Y%m%d-%H:%M:%S).log" uwsgi /srv/gargantext/gargantext.ini
touch ${FILE}
# add a group here echo "To reload UWSGI: touch /tmp/gargantext.reload"
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