Steffen Dettmer grabbed a keyboard and wrote: > 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?
Can you post both the logrotate instructions for one of them, and the script that it's trying to run on the postrotate stanza? --Dave
smime.p7s
Description: S/MIME Cryptographic Signature