Fix wrong variable check
Fix Exception when Nginx is disabled
Implemented MySQL service
Fixed logging copypasta fail