unbit / uwsgi

uWSGI application server container
http://projects.unbit.it/uwsgi
Other
3.45k stars 691 forks source link

Reloading vassal does not recreate unix socket #1145

Closed morsik closed 8 years ago

morsik commented 8 years ago

Consider emperor:

[uwsgi]
emperor = /etc/uwsgi.d

and put there any application:

[uwsgi]
socket = /tmp/some.socket
; rest doesn't matter

Creating vassal, creates socket — OK Removing vassal, deletes socket — OK But reloading vassal (touch /etc/uwsgi.d/vassal.ini) not recreates socket, nor changes chown (after changing/adding chown-socket). Socket is not recreated when I manually removed socket file and reloaded vassal.

unbit commented 8 years ago

hi, this is the expected (and common in unix world) behaviour as during reload the process could not have the privileges to re-create the socket.