Commit dd4ee3ae authored by Benedikt Geißler's avatar Benedikt Geißler 🐸

Attach sync.py daemon to uwsgi

parent 319f0ba3
Pipeline #13138 passed with stage
in 19 seconds
#!/bin/bash
set -eu
service rabbitmq-server start
service nginx start
./manage.py migrate
./manage.py collectstatic --noinput
service rabbitmq-server start
service nginx start
python ./sync.py &
uwsgi --ini /etc/uwsgi/frms.ini
......@@ -10,3 +10,5 @@ socket = /run/uwsgi-frms.socket
thunder-lock = true
uid = uwsgi
wsgi-file = frms/wsgi.py
attach-daemon = ./sync.py --pidfile /tmp/frms-syncer.pid
File mode changed from 100644 to 100755
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