SAN FRANCISCO—The Haight-Ashbury district was all about peace and love until bacon entered the picture.

The trouble began in May, when this city's health department shut down a popular restaurant called Bacon Bacon after neighbors' complaints caused a permit delay. The neighbors' concern: the scent of bacon grease was blowin' in the wind.

Now...