Skip to content

Commit

Permalink
Create var for nagios
Browse files Browse the repository at this point in the history
  • Loading branch information
NEMS Linux committed Feb 20, 2019
1 parent 1f6305d commit 9388537
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/050-nagios
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ fi
usermod -a -G nagios www-data
usermod -a -G nagcmd nagios
usermod -a -G nagcmd www-data

# Add var folder
if [[ ! -e /var/lib/nagios/ ]]; then
mkdir /var/lib/nagios/
chown -R nagios:nagios /var/lib/nagios/
fi

cd /tmp
# NEMS 1.4.1
# wget https://assets.nagios.com/downloads/nagioscore/releases/nagios-4.3.4.tar.gz
Expand Down

0 comments on commit 9388537

Please sign in to comment.