13 lines
297 B
Bash
Executable File
13 lines
297 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Nagios plugin to check benevalibre version
|
|
#
|
|
# Author : François Poulain <fpoulain@metrodore.fr>
|
|
# Date : 18 Jan 2021
|
|
#
|
|
|
|
set -e
|
|
cd /var/www/benevalibre.chapril.org/benevalibre
|
|
sudo /var/www/benevalibre.chapril.org/benevalibre/venv/bin/python manage.py check_update --warn
|
|
exit $?
|