- Minor
I am running 7.12 and have an old user.script left over from when nchan would kill the UI regularly. It simply runs /etc/rc.d/rc.nginx restart
I have found since the 7.12 update that the nginx inside my apprise container is being stopped at the same time the nginx restart script is run.
I have looked at the rc.nginx script and its being caught as line 739 pkill -f $NGINX is not checking if it is an nginx from the host OS or a container. Only my apprise container runs a nginx by full path /usr/bin/nginx so is the only one being killed by this, all other container run nginx are being left intact as the path doesn't match.
I think the PID of the still running /usr/bin/nginx processes should be checked to make sure that they don't have a cgroup associated (running in container) then killed or if possible use the namespace checking built in to pkill. But the cleanest way may be also to fix nginx_waitfor_shutdown to wait only for the OS nginx processes as that would speed up the rc file since container nginx will remain active always.
Great that the nchan memory issue is fixed and I can remove that user.script for nginx restart.
Many Thanks,
Paul