--- 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
