File: cron.weekly

package info (click to toggle)
midentd 2.1-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 112 kB
  • ctags: 13
  • sloc: perl: 261; sh: 57; makefile: 40
file content (12 lines) | stat: -rw-r--r-- 328 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# midentd       Cron script to rotate the midentd log files weekly.
#
#               Written by Turbo Fredriksson <turbo@debian.org>.
#               Based on the log rotater by Hugo Haas <hugo@debian.org>.

LOG=/var/log/midentd/midentd.log

if [ -f $LOG ]; then
  savelog -u identd -g adm -m 640 $LOG >/dev/null
fi