aboutsummaryrefslogtreecommitdiffstats
path: root/community/homer-api/rotation-ini-path.patch
blob: 52d42f7b09e4dffb4e381467f729fd77d00a61a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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