diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-07-06 15:21:08 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-07-06 15:21:08 +0300 |
commit | 95ca92e319b7b5215eaa6b0476947f922e6d0b13 (patch) | |
tree | e025fb7d48cb734780f4def6d761e188a1a4dd4b /community/homer-api/rotation-ini-path.patch | |
parent | cb2326db70e5fd238e985d18b55c6650d8ef3876 (diff) | |
download | aports-95ca92e319b7b5215eaa6b0476947f922e6d0b13.tar.bz2 aports-95ca92e319b7b5215eaa6b0476947f922e6d0b13.tar.xz |
community/homer-*: moved from testing
Diffstat (limited to 'community/homer-api/rotation-ini-path.patch')
-rw-r--r-- | community/homer-api/rotation-ini-path.patch | 28 |
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 |