문제

I have an app built on Django/nginx/uWSGI.

I'd like my production server to reload uWSGI whenever the master branch gets modified.

I'm wondering if it would be a good practice to touch-reload some git file to achieve this.

[uwsgi]
#...
touch-reload = .git/index

As I'm also using Fabric to automate my deployments, maybe it is preferable to touch the uwsig module instead...

What do you think ?

도움이 되었습니까?

해결책

touch-reload = .git/index

Ended up working fine

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top