Файловый менеджер - Редактировать - /var/www/iplanru/data/www/intesco.ru/d59ed/cron.weekly.tar
Назад
man-db 0000666 00000001577 15077015164 0005651 0 ustar 00 #!/bin/sh # # man-db cron weekly set -e iosched_idle= # Don't try to change I/O priority in a vserver or OpenVZ. if ! egrep -q '(envID|VxID):.*[1-9]' /proc/self/status && \ ([ ! -d /proc/vz ] || [ -d /proc/bc ]); then dpkg_version="$(dpkg-query -W -f '${Version}' dpkg)" if dpkg --compare-versions "$dpkg_version" ge 1.15.0; then iosched_idle='--iosched idle' fi fi if ! [ -d /var/cache/man ]; then # Recover from deletion, per FHS. mkdir -p /var/cache/man chown man:root /var/cache/man || true chmod 2755 /var/cache/man fi # regenerate man database if [ -x /usr/bin/mandb ]; then # --pidfile /dev/null so it always starts; mandb isn't really a daemon, # but we want to start it like one. start-stop-daemon --start --pidfile /dev/null \ --startas /usr/bin/mandb --oknodo --chuid man \ $iosched_idle \ -- --quiet fi exit 0 .placeholder 0000666 00000000146 15077015164 0007042 0 ustar 00 # DO NOT EDIT OR REMOVE # This file is a simple placeholder to keep dpkg from removing this directory sysklogd 0000666 00000002155 15077015164 0006343 0 ustar 00 #! /bin/sh # sysklogd Cron script to rotate system log files weekly. # # If you want to rotate logfiles daily, edit # this script and /etc/cron.daily/sysklogd to get # the logfiles in sync (they must not occur in both # files). # # This is a configration file. You are invited to edit # it and maintain it on your own. You'll have to do # that if you don't like the default policy # wrt. rotating logfiles (i.e. with large logfiles # weekly and daily rotation may interfere). If you edit # this file and don't let dpkg upgrade it, you have full # control over it. Please read the manpage to # syslogd-listfiles. # # Written by Ian A. Murdock <imurdock@debian.org>. # $Id: cron.weekly,v 1.11 2007-05-28 16:33:34 joey Exp $ test -x /usr/sbin/syslogd-listfiles || exit 0 test -x /sbin/syslogd || exit 0 test -f /usr/share/sysklogd/dummy || exit 0 set -e cd /var/log logs=$(syslogd-listfiles --weekly) test -n "$logs" || exit 0 for LOG in $logs do if [ -s $LOG ]; then savelog -g adm -m 640 -u root -c 4 $LOG >/dev/null fi done # Restart syslogd # /etc/init.d/sysklogd reload-or-restart > /dev/null
| ver. 1.4 |
Github
|
.
| PHP 5.4.45-1~dotdeb+6.1 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка