diff options
author | Gabriel Filion <lelutin@gmail.com> | 2011-07-14 05:43:18 -0400 |
---|---|---|
committer | Gabriel Filion <lelutin@gmail.com> | 2011-07-14 05:43:18 -0400 |
commit | 767255d6363c33b678f1f51310b1c31964c6fd0b (patch) | |
tree | 1207388a078d64c9b64faf63351b75f7db6eea2d | |
parent | 131ec46d082787e79a7e4bb08ff984886c439fa5 (diff) |
IRC-bot: fix LSB dependencies in Debian init script
A misconception on my part made the dependencies "not-quite-right" (as
in: the script doesn't really depend on nagios, as we would expect). This
gives the IRC bot the save "level" as nagios itself. However, we'd like
for nagios to be started before we start the IRC bot.
-rw-r--r-- | templates/irc_bot/Debian/nagios-nsa.sh.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/irc_bot/Debian/nagios-nsa.sh.erb b/templates/irc_bot/Debian/nagios-nsa.sh.erb index 7de660d..c9d1966 100644 --- a/templates/irc_bot/Debian/nagios-nsa.sh.erb +++ b/templates/irc_bot/Debian/nagios-nsa.sh.erb @@ -2,8 +2,8 @@ ### BEGIN INIT INFO # Provides: nagios-nsa -# Required-Start: $remote_fs $syslog $nagios -# Required-Stop: $remote_fs $syslog $nagios +# Required-Start: $remote_fs $syslog nagios3 +# Required-Stop: $remote_fs $syslog nagios3 # Default-Start: 2 3 4 5 # Default-Stop: 1 6 0 # Short-Description: Nagios Simple IRC Agent |