remove unnecessary security rule, update the tika PID location

This commit is contained in:
Zoe Lu 2018-05-07 10:05:05 +10:00
Родитель f7e2f60fb9
Коммит cb2b51915c
2 изменённых файлов: 1 добавлений и 14 удалений

Просмотреть файл

@ -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 ..."