[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Logrotate improvement



Hello Henrik (or rpm-maintainers?!),

The current hobbit.logrotate file contains a minor error. The last section is:

        postrotate
                su -c "/etc/init.d/hobbit rotate" hobbit
        endscript

I think two things are mixed up because this command asks for a
password (running a root-script). It should be:

                /etc/init.d/hobbit rotate
-or-
             su - hobbit -c"/usr/lib/hobbit/server/hobbit.sh rotate"

regards,

Peter