Re: logrotate setzt keine User und Gruppen
Uwe Kerstan schrieb:
> * santiago (anonym-allgemein) [05-02-2009 18:29]:
>
>>> Helfen kann ich dir nicht, aber ich würde das -f in den cronjob
>>> einbauen. Keine Ahnung, ob es funktioniert ...
>> In /etc/cron.daily/logrotate steht
>>
>> #!/bin/sh
>>
>> test -x /usr/sbin/logrotate || exit 0
>> /usr/sbin/logrotate /etc/logrotate.conf
>
> /usr/sbin/logrotate -f /etc/logrotate.conf
>
>> Wo soll ich jetzt die Option -f einbauen?
Aber dann wird jedesmal rotiert, ob es notwendig ist oder nicht... Das
ist auch nicht das wahre :(
>
> Sollen sollst du gar nichts, ich würde es so versuchen.
>
>> Wo ist der Hund im System???
>
> Keine Ahnung!
:( :(
lg jakob
Reply to: