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

How to use logrotate postrotate *bash* script



Hi,

logrotate seems to execute "postrotate" scripts using /bin/sh and I
found no way where to specify which script interpreter to use.
Starting with a she-bang line seem to have no effect. Even if I
manually run logrotate as root who has /bin/bash as login shell,
/bin/sh is used.

How to make logrotate to use the correct interpreter for "postrotate" scripts?

Regards,
Steffen


Reply to: