From fb1062131ac950b1076b675cdd0883cc1fc016b7 Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Tue, 19 Sep 2017 17:17:04 +0300 Subject: Revert "main/homer-api: moved from community" This reverts commit c5090b0c13f6d6f1fe2a52185100dbc7c9c549b6. --- community/homer-api/rotation-ini-path.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 community/homer-api/rotation-ini-path.patch (limited to 'community/homer-api/rotation-ini-path.patch') diff --git a/community/homer-api/rotation-ini-path.patch b/community/homer-api/rotation-ini-path.patch new file mode 100644 index 0000000000..52d42f7b09 --- /dev/null +++ b/community/homer-api/rotation-ini-path.patch @@ -0,0 +1,28 @@ +--- homer-api-5.0.6/scripts/homer_partremove ++++ homer-api-5.0.6.alpine/scripts/homer_partremove +@@ -3,9 +3,8 @@ + # Set correct bin path if we are running as a cron job + PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +-bin_dir=`dirname $0` +-programm="$bin_dir/homer_mysql_remove_partitions.pl" +-config="$bin_dir/rotation.ini" ++programm="homer_mysql_remove_partitions.pl" ++config=/etc/homer/rotation.ini + + $programm $config + +--- homer-api-5.0.6/scripts/homer_rotate ++++ homer-api-5.0.6.alpine/scripts/homer_rotate +@@ -3,9 +3,8 @@ + # Set correct bin path if we are running as a cron job + PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +-bin_dir=`dirname $0` +-programm="$bin_dir/homer_mysql_rotate.pl" +-config="$bin_dir/rotation.ini" ++programm="homer_mysql_rotate.pl" ++config=/etc/homer/rotation.ini + + if [ $# -ne 0 ] + then -- cgit v1.2.3