Imagery - make mapserv upstart restart safe