Commit c071b387 authored by Volodymyr Melnyk's avatar Volodymyr Melnyk

Fix a bug

parent f7494fa7
......@@ -4,10 +4,10 @@ PATH=/bin
. /opt/snmp_stats/lib/common.sh
if [[ ! -f "${_log_spool}" ]]; then
mkdir -p "${_log_spool}"
chown root:nobody "${_log_spool}"
chmod 0770 "${_log_spool}"
if [[ ! -f "${_log_dir}" ]]; then
mkdir -p "${_log_dir}"
chown root:nobody "${_log_dir}"
chmod 0770 "${_log_dir}"
fi
systemd_service_config='/etc/systemd/system/save_io_stats.service'
......
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