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

Re: How to use logrotate postrotate *bash* script



On Thu, 2013-12-05 at 17:03 +0000, Darac Marjal wrote:
> Just a thought, how about making your postrotate command be "/bin/bash
> /path/to/myscript.sh"?

This was already mentioned, resp. the shebang would work, if the script
is called by simply path/myscript.sh, IOW without a leading sh, which
usually is just a link, most of the times to bash or dash.


Reply to: