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
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
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 have no
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 interpreter
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
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 as
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
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/sh is
8 matches
Mail list logo