portal-uwsgi.service 432 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit]
Description=CIRCLE portal
After=network.target

[Service]
User=cloud
Group=cloud
WorkingDirectory=/home/cloud/circle/circle
ExecStart=/bin/bash -c "source /etc/profile; workon circle; exec /home/cloud/.virtualenvs/circle/bin/uwsgi --chdir=/home/cloud/circle/circle -H /home/cloud/.virtualenvs/circle --socket /tmp/uwsgi.sock --wsgi-file circle/wsgi.py --chmod-socket=666"
Restart=always

[Install]
WantedBy=multi-user.target