Restart nginx after removing old repo content
The version of nginx on centos-8 appears to keep file handles open, possibly the old /var/www/repo directory persistently. Once the old content is removed and the new shared filesystem mount is created at the web root, ensure that nginx is restarted to close any file handles which are now stale. Change-Id: I941359b1b42aa4a874230a32b438dcefddfb2acb
This commit is contained in:
parent
b0fe7fd14d
commit
a9ecec103d
@ -68,6 +68,8 @@
|
||||
when:
|
||||
- _repo_folder_stat.stat.exists
|
||||
- _repo_folder_mountpoint.rc != 0
|
||||
notify:
|
||||
- reload nginx
|
||||
|
||||
- name: Mount any remote volumes
|
||||
include_role:
|
||||
|
Loading…
Reference in New Issue
Block a user