#make sure files are accessible
sudo chmod -R 777 /opt/ADXBA/Unity/Unity_Service

# Run Unity Service via mono-service.
sudo -H /bin/bash -c 'mono-service -l:/tmp/unityservice-lock /opt/ADXBA/Unity/Unity_Service/Unity_Service.exe' &

echo "Unity Service Started ----- "