Just an FYI but the Unifi Controller software is available in a generic linux download but for some reason the link is no longer public:

http://dl.ubnt.com/unifi/%{version}/UniFi.unix.zip

I use the following link to get a versioned file:

http://dl.ubnt.com/unifi/%{version}/UniFi.unix.zip#/UniFi-%{version}.unix.zip

I created an RPM for it but I don't want to get in the repository business personally but I did create a systemd unit file that seems to work well for me on both Fedora and CentOS 7 that I can share.

The RPM does take care of some selinux issues and makes the resulting install as FHS compliant as I could.

Because the binaries are prebuilt and the licensing isn't clear I can't even submit it to RPM Fusion non-free. 

Thanks,
Richard