Correct aptitude logpath…
This commit is contained in:
parent
281bf45c23
commit
4dfa242d07
|
@ -36,7 +36,7 @@ cp "${LOGROTATE_APTITUDE_CONF}" "${LOGROTATE_APTITUDE_FILE}"
|
||||||
cp "${LOGROTATE_DPKG_CONF}" "${LOGROTATE_DPKG_FILE}"
|
cp "${LOGROTATE_DPKG_CONF}" "${LOGROTATE_DPKG_FILE}"
|
||||||
|
|
||||||
# Create an archive directory for some log files (aptitude, dpkg,…)
|
# Create an archive directory for some log files (aptitude, dpkg,…)
|
||||||
mkdir -p -- /var/log/old_logs /vaar/log/aptitude.d /var/log/dpkg /var/log/alternatives /var/log/syslog.d /var/log/cron /var/log/daemon /var/log/kern /var/log/lpr /var/log/mail /var/log/auth /var/log/messages
|
mkdir -p -- /var/log/old_logs /var/log/aptitude.d /var/log/dpkg /var/log/alternatives /var/log/syslog.d /var/log/cron /var/log/daemon /var/log/kern /var/log/lpr /var/log/mail /var/log/auth /var/log/messages
|
||||||
|
|
||||||
chmod 0750 /var/log/auth /var/log/daemon /var/log/kern /var/log/messages /var/log/syslog.d
|
chmod 0750 /var/log/auth /var/log/daemon /var/log/kern /var/log/messages /var/log/syslog.d
|
||||||
chown root:adm /var/log/auth /var/log/daemon /var/log/kern /var/log/messages /var/log/syslog.d
|
chown root:adm /var/log/auth /var/log/daemon /var/log/kern /var/log/messages /var/log/syslog.d
|
||||||
|
|
Loading…
Reference in New Issue