Remove former config file
Add character set and collation in config
Fix condition for service restart

Used wrong variable name