run.sh
@@ -4,6 +4,10 @@ JAVA_OPTS="-Xmx1024m" fi chown -Rf unifi:unifi /usr/lib/unifi/data if [ `id -u` -eq 0 ]; then chown -Rf unifi:unifi /usr/lib/unifi/data exec sudo -u unifi java $JAVA_OPTS -jar /usr/lib/unifi/lib/ace.jar start exec sudo -u unifi java $JAVA_OPTS -jar /usr/lib/unifi/lib/ace.jar start else exec java $JAVA_OPTS -jar /usr/lib/unifi/lib/ace.jar start fi