Steffen Dettmer wrote:
> 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/s
On Thu, 2013-12-05 at 17:03 +, 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
usu
On Thu, Dec 05, 2013 at 10:31:01AM +0100, Steffen Dettmer 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
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 /b
On Thu, 2013-12-05 at 10:44 +0100, Ralf Mardorf wrote:
> On Thu, 2013-12-05 at 10:43 +0100, Ralf Mardorf wrote:
> > On Thu, 2013-12-05 at 10:31 +0100, Steffen Dettmer wrote:
> > > logrotate seems to execute "postrotate" scripts using /bin/sh and I
> > > found no way where to specify which script in
On Thu, 2013-12-05 at 10:43 +0100, Ralf Mardorf wrote:
> On Thu, 2013-12-05 at 10:31 +0100, Steffen Dettmer wrote:
> > 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 hav
On Thu, 2013-12-05 at 10:31 +0100, Steffen Dettmer wrote:
> 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
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 logr
8 matches
Mail list logo