Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
icinga
:
production
>
icli
> icli-0.4.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File icli-0.4.patch of Package icli
--- bin/icli.orig 2011-01-31 19:16:28.000000000 +0100 +++ bin/icli 2011-07-17 21:30:01.739085771 +0200 @@ -2,6 +2,7 @@ ## Copyright © 2010 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; @@ -15,9 +16,9 @@ my $VERSION = '0.4'; 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';