diff options
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 ca315b1..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=<%= scope.lookupvar('nagios::irc_bot::base::nsa_pidfile') %> -SOCKFILE=<%= scope.lookupvar('nagios::irc_bot::base::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 |