remove unnecessary security rule, update the tika PID location
This commit is contained in:
Родитель
f7e2f60fb9
Коммит
cb2b51915c
|
@ -60,19 +60,6 @@
|
||||||
"sourceAddressPrefix": "*",
|
"sourceAddressPrefix": "*",
|
||||||
"sourcePortRange": "*"
|
"sourcePortRange": "*"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Allow_tika",
|
|
||||||
"properties": {
|
|
||||||
"access": "Allow",
|
|
||||||
"destinationAddressPrefix": "9998",
|
|
||||||
"destinationPortRange": "9998",
|
|
||||||
"direction": "Inbound",
|
|
||||||
"priority": 1010,
|
|
||||||
"protocol": "*",
|
|
||||||
"sourceAddressPrefix": "*",
|
|
||||||
"sourcePortRange": "*"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -61,7 +61,7 @@ EOF
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
SERVICE_NAME=tika-server
|
SERVICE_NAME=tika-server
|
||||||
PATH_TO_JAR=/usr/share/java/tika-server-1.18.jar
|
PATH_TO_JAR=/usr/share/java/tika-server-1.18.jar
|
||||||
PID_PATH_NAME=/tmp/tika-server-pid
|
PID_PATH_NAME=/var/run/tika-server-pid
|
||||||
case \$1 in
|
case \$1 in
|
||||||
start)
|
start)
|
||||||
echo "Starting \$SERVICE_NAME ..."
|
echo "Starting \$SERVICE_NAME ..."
|
||||||
|
|
Загрузка…
Ссылка в новой задаче