Unit files are better generated off of templates. The file transfer causes some weird whitespace which can be an issue on CentOS.