diff options
author | varac <varacanero@zeromail.org> | 2013-01-24 16:28:20 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-01-24 16:28:20 +0100 |
commit | e693bcb3b7f904f2e8e63b9a6d529ce22e472e4f (patch) | |
tree | b86fee3e69de1867bebeda5cb36ad8be01564a6e /templates | |
parent | aa311e3c219dfabc881201817e825e623615a9a6 (diff) |
Revert "naming PID and SOCKFILE absent broke things"
This reverts commit 02d2ca2df868262728c67c13d5dbf484c001d380.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/irc_bot/Debian/nagios-nsa.sh.erb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/templates/irc_bot/Debian/nagios-nsa.sh.erb b/templates/irc_bot/Debian/nagios-nsa.sh.erb index 4e91cda..7295a37 100644 --- a/templates/irc_bot/Debian/nagios-nsa.sh.erb +++ b/templates/irc_bot/Debian/nagios-nsa.sh.erb @@ -9,16 +9,9 @@ # Short-Description: Nagios Simple IRC Agent ### END INIT INFO -<% if @scope.lookupvar('nagios::irc_bot::base::nsa_pidfile') %> PIDFILE=<%= scope.lookupvar('nagios::irc_bot::base::nsa_pidfile') %> -<% else %> -PIDFILE=/var/run/nagios3/nsa.pid -<% end %> -<% if @scope.lookupvar('nagios::irc_bot::base::nsa_socket') %> SOCKFILE=<%= scope.lookupvar('nagios::irc_bot::base::nsa_socket') %> -<% else %> -SOCKFILE=/var/run/nagios3/nsa.socket -<% end %> + . /lib/lsb/init-functions start() { |