Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
icli
> icli-0.42.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File icli-0.42.patch of Package icli
--- bin/icli.orig 2012-06-01 11:59:22.000000000 +0200 +++ bin/icli 2012-06-02 10:42:18.969324071 +0200 @@ -2,6 +2,7 @@ ## Copyright © 2010-2012 by Daniel Friesel <derf@finalrewind.org> ## License: WTFPL <http://sam.zoy.org/wtfpl> ## 0. You just DO WHAT THE FUCK YOU WANT TO. +use lib "%PERLVENDORLIB%"; use autodie; use strict; use warnings; @@ -17,9 +18,9 @@ our $VERSION = '0.42'; my ( $cache, $config, $data, $extra ); -my $config_file = '/var/cache/icinga/objects.cache'; -my $status_file = '/var/lib/icinga/status.dat'; -my $rw_file = '/var/lib/icinga/rw/icinga.cmd'; +my $config_file = '/var/log/icinga/objects.cache'; +my $status_file = '/var/log/icinga/status.dat'; +my $rw_file = '/var/log/icinga/rw/icinga.cmd'; my $context; my $colours = 1; my $list_type = 's';