fix: use absolute path for logrotate binary

main
gravel 4 months ago
parent bfa61acf31
commit a70a566309
Signed by: gravel
GPG Key ID: C0538F3C906B308F

@ -1,4 +1,4 @@
#!/bin/sh
cd "$(dirname "$0")" || exit
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…
Cancel
Save