Commit a5bdd76c authored by Dmytro Karpenko's avatar Dmytro Karpenko
Browse files

Small bug fixes and doc fixes.

parent 15e29aaf
......@@ -34,6 +34,7 @@ defaults,
--esindex <indexname>'
3. Start the tool with '/etc/init.d/jura_to_es start'
4. If needed, make 'jura_to_es' service startable at the boot with chkconfig
or systemctl.
Logging
=======
......
......@@ -80,6 +80,16 @@ fi
PID_FILE="/var/run/arc/jura_to_es.pid"
LOG_FILE="/var/log/arc/jura_to_es.log"
if [ ! -d "/var/run/arc" ]; then
log_failure_msg "The default PID dir not found (/var/run/arc)"
exit 1
fi
if [ ! -d "/var/log/arc" ]; then
log_failure_msg "The default logging dir not found (/var/log/arc)"
exit 1
fi
if [ `id -u` = 0 ] ; then
# Debian does not have /var/lock/subsys
if [ -d /var/lock/subsys ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment