ENTAXY-248 release 1.8.1
This commit is contained in:
@ -62,16 +62,17 @@ htpasswd.file.directory=/mnt/share
|
||||
|
||||
* KARAF_HOST_NAMES=("http://192.168.122.93:9091" "http://192.168.122.94:9091") - караф сервера с запущеным сервисом htpasswd
|
||||
* HTPASSWD_STORAGE=/etc/nginx/htpasswd - адрес файла htpasswd, на который настроен nginX
|
||||
* LOGFILE="htpasswd-sync.log" - адрес лог файла
|
||||
|
||||
Добавить запуск скрипта через cron
|
||||
sudo crontab -e
|
||||
|
||||
```
|
||||
раз в минут
|
||||
*/5 * * * * <path_to_script>
|
||||
*/5 * * * * <path_to_script> >> <path_to_log_file> 2>&1
|
||||
|
||||
либо раз в минуту
|
||||
*/1 * * * * <path_to_script>
|
||||
*/1 * * * * <path_to_script> >> <path_to_log_file> 2>&1
|
||||
```
|
||||
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>ru.entaxy.esb.system.auth.basic</groupId>
|
||||
<artifactId>basic-auth</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>1.8.1</version>
|
||||
</parent>
|
||||
|
||||
<groupId>ru.entaxy.esb.system.auth.basic.htpasswd</groupId>
|
||||
@ -20,6 +20,10 @@
|
||||
<bundle.osgi.export.pkg>
|
||||
ru.entaxy.esb.system.auth.basic.htpasswd,
|
||||
</bundle.osgi.export.pkg>
|
||||
<!-- bundle.osgi.private.pkg>
|
||||
ru.entaxy.esb.system.auth.basic.htpasswd.entity,
|
||||
ru.entaxy.esb.system.auth.basic.htpasswd.rest
|
||||
</bundle.osgi.private.pkg -->
|
||||
<bundle.osgi.import.pkg>
|
||||
ru.entaxy.esb.system.auth.basic.jpa.api,
|
||||
ru.entaxy.esb.system.auth.basic.jpa.api.entity,
|
||||
@ -46,7 +50,6 @@
|
||||
<dependency>
|
||||
<groupId>org.apache.camel</groupId>
|
||||
<artifactId>camel-cxf</artifactId>
|
||||
<version>${camel.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.camel.karaf</groupId>
|
||||
|
@ -17,7 +17,7 @@
|
||||
# limitations under the License.
|
||||
# ~~~~~~/licensing~~~~~~
|
||||
###
|
||||
# !/bin/sh
|
||||
#!/bin/bash
|
||||
KARAF_HOST_NAMES=("http://192.168.122.93:9091" "http://192.168.122.94:9091")
|
||||
HTPASSWD_PATH=/htpasswd
|
||||
CHECKSUM_PATH=$HTPASSWD_PATH/checksum
|
||||
|
Reference in New Issue
Block a user