Skip to main content

clean_hosts_file

Function clean_hosts_file 

Source
pub fn clean_hosts_file()
Expand description

Remove the pitchfork-managed block from /etc/hosts.

Called on proxy shutdown to clean up stale entries.