|
@@ -1,11 +1,5 @@
|
|
|
#!/bin/bash
|
|
|
|
|
|
-createDir() {
|
|
|
- SHARE_DIR='/root/.wine/dosdevices/unc/samba.infoclinica.lan/smartdelta01'
|
|
|
- [ ! -d ${SHARE_DIR}/${LAB}/Files ] && mkdir ${SHARE_DIR}/${LAB}/Files
|
|
|
- [ ! -d ${SHARE_DIR}/${LAB}/Files/$1 ] && mkdir ${SHARE_DIR}/${LAB}/Files/$1
|
|
|
-}
|
|
|
-
|
|
|
if [ ! -z ${LOGPATH} ]
|
|
|
then
|
|
|
ln -s ${LOGPATH} /opt/analis/log
|
|
@@ -13,9 +7,6 @@ fi
|
|
|
echo "Create symlinks for configs"
|
|
|
for i in $(ls -d /configs/*.{conf,ini}); do ln -sf ${i} /opt/analis/;done
|
|
|
|
|
|
-echo "create ARCHIVE Dictionaries IN OUT ERR"
|
|
|
-for i in ARCHIVE Dictionaries IN OUT ERR; do createDir ${i}; done
|
|
|
-
|
|
|
echo "Starting AnalisServer.exe $@"
|
|
|
echo "This file used to shedule healthchecks" > /opt/analis/checkfile.status
|
|
|
touch /opt/analis/log/fatal.log
|