~ubuntu-branches/ubuntu/vivid/logrotate/vivid

« back to all changes in this revision

Viewing changes to test/test-config.11.in

  • Committer: Bazaar Package Importer
  • Author(s): Paul Martin
  • Date: 2005-05-25 10:43:42 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050525104342-kc8tsbw57qbfmi7s
Tags: 3.7-5
Brown paper bag upload.

42-execlp-bin-sh: Fix major flaw in the last patch... it tries to 
execute the logfile. Thanks very much for the quick report, Philipp.
It was my fault, not yours. (Closes: #279965)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
create
 
2
 
 
3
compress
 
4
 
 
5
&DIR&/test.log {
 
6
    monthly
 
7
    rotate 1
 
8
    mail user@myhost.org
 
9
    maillast
 
10
    sharedscripts
 
11
 
 
12
    postrotate
 
13
        touch scriptout
 
14
        echo $(cat scriptout) foo > foo
 
15
        mv foo scriptout
 
16
    endscript
 
17
}