Permalink
Browse files

Move telegram_nems.lua to notify-by-telegram.lua

  • Loading branch information...
NEMS Linux
NEMS Linux committed Nov 12, 2018
1 parent f2e4bf5 commit 55974a83aa66101fb7fbf1a869c0a298db6b6911
Showing with 5 additions and 4 deletions.
  1. +5 −4 build/052-nems-nagios-plugins
@@ -16,9 +16,10 @@
# Grab the Migrator plugins
cp -f /root/nems/nems-migrator/data/1.5/nagios/plugins/* /usr/local/nagios/libexec/
# Install notify-by-telegram
#MOVE THIS
cp -f /root/nems/nems-migrator/data/1.4/nagios/plugins/telegram_nems.lua /usr/local/bin/
chmod +x /usr/local/bin/telegram_nems.lua
# Add backward compatibility for notify-by-telegram (in case user has NEMS 1.3-1.4 config)
if [[ -f /usr/local/bin/telegram_nems.lua ]]; then
rm -f /usr/local/bin/telegram_nems.lua
fi
ln -s /usr/local/nagios/libexec/notify-by-telegram.lua /usr/local/bin/telegram_nems.lua

0 comments on commit 55974a8

Please sign in to comment.