blob: 38dd97f21ca5f98b78628eb4cb803f8ef06ecfc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- unifi-video.orig 2019-04-20 17:00:21.142172604 -0700
+++ unifi-video 2019-04-20 17:01:04.763373991 -0700
@@ -275,7 +275,7 @@
-Dcom.sun.management.jmxremote.authenticate=false \
-Dcom.sun.management.jmxremote.port=${JVM_JMXREMOTE_PORT}"
[ -z "${JVM_JMXREMOTE_HOST}" ] && \
- JVM_JMXREMOTE_HOST=$(hostname -I | cut -d' ' -f1)
+ JVM_JMXREMOTE_HOST=$(hostname -i | cut -d' ' -f1)
[ -z "${JVM_JMXREMOTE_HOST}" ] || \
JVM_OPTS="${JVM_OPTS} -Djava.rmi.server.hostname=${JVM_JMXREMOTE_HOST}"
@@ -335,7 +335,6 @@
start)
require_root
update_limits
- ulimit -H -c 200
echo 0x10 > /proc/self/coredump_filter
if is_service_running "${PIDFILE}" >/dev/null; then
log_verbose "${NAME} is already running..."
@@ -352,7 +351,6 @@
;;
stop)
require_root
- ulimit -H -c 200
log_verbose "Backing up ${DATADIR}/system.properties in ${BASEDIR}/etc/system.properties"
cp -f "${DATADIR}/system.properties" "${BASEDIR}/etc/system.properties"
|