diff options
author | mh <mh@immerda.ch> | 2012-06-05 19:34:51 -0300 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-06-05 19:34:51 -0300 |
commit | 0fe7552f256f0b1508cc5d3cab952eb93bee6811 (patch) | |
tree | 9769eab5ea4b9bf6f49c2c11d9a9b9e1736361c9 /templates/irc_bot/CentOS | |
parent | 3db1ca8f85b28978a3a9c09de3551f536b1375a6 (diff) |
new style for 2.7
Diffstat (limited to 'templates/irc_bot/CentOS')
-rw-r--r-- | templates/irc_bot/CentOS/nagios-nsa.sh.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/irc_bot/CentOS/nagios-nsa.sh.erb b/templates/irc_bot/CentOS/nagios-nsa.sh.erb index 1561afd..0f9f87b 100644 --- a/templates/irc_bot/CentOS/nagios-nsa.sh.erb +++ b/templates/irc_bot/CentOS/nagios-nsa.sh.erb @@ -19,8 +19,8 @@ exec="/usr/local/bin/riseup-nagios-server.pl" prog="nsa" -PIDFILE=<%= nagios_nsa_pidfile %> -SOCKFILE=<%= nagios_nsa_socket %> +PIDFILE=<%= scope.lookupvar('nagios::irc_bot::real_nsa_pidfile') %> +SOCKFILE=<%= scope.lookupvar('nagios::irc_bot::real_nsa_socket') %> [ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog |