aboutsummaryrefslogtreecommitdiffstats
path: root/community/homer-api/rotation-ini-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/homer-api/rotation-ini-path.patch')
-rw-r--r--community/homer-api/rotation-ini-path.patch28
1 files changed, 28 insertions, 0 deletions
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