fix: use absolute path for logrotate binary
parent
bfa61acf31
commit
a70a566309
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd "$(dirname "$0")" || exit
|
cd "$(dirname "$0")" || exit
|
||||||
while ! [ -f ".phpenv.php" ]; do cd ..; done
|
while ! [ -f ".phpenv.php" ]; do cd ..; done
|
||||||
logrotate -f -s etc/archives/logrotate.status etc/archives/logrotate.conf
|
/usr/sbin/logrotate -f -s etc/archives/logrotate.status etc/archives/logrotate.conf
|
||||||
|
Loading…
Reference in New Issue