guardian.logrotate.patch
modif/guardian.logrotate 2017-09-06 15:51:33.536519750 +0200 | ||
---|---|---|
8 | 8 |
sharedscripts |
9 | 9 |
ifempty |
10 | 10 |
size 0 |
11 |
prerotate |
|
12 |
CreoleService bastion stop >/dev/null |
|
13 |
endscript |
|
14 | ||
11 |
copytruncate |
|
15 | 12 |
postrotate |
16 |
reload rsyslog > /dev/null |
|
17 |
CreoleRun "service bastion restart" root no yes >/dev/null |
|
18 |
CreoleRun "service bastion restart" all no yes >/dev/null |
|
13 |
/etc/init.d/rsyslog rotate > /dev/null |
|
19 | 14 |
endscript |
20 | 15 |
} |
21 | 16 | |
... | ... | |
29 | 24 |
sharedscripts |
30 | 25 |
ifempty |
31 | 26 |
size 0 |
32 |
prerotate |
|
33 |
CreoleService bastion stop >/dev/null |
|
34 |
endscript |
|
35 | ||
27 |
copytruncate |
|
36 | 28 |
postrotate |
37 |
reload rsyslog > /dev/null |
|
38 |
CreoleService bastion start >/dev/null |
|
29 |
/etc/init.d/rsyslog rotate > /dev/null |
|
39 | 30 |
endscript |
40 | 31 |
} |
41 | 32 |
%end if |