wok-6.x diff nagios-nrpe/receipt @ rev 17533

Add libssh2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 21 17:12:27 2015 +0100 (2015-01-21)
parents 3765f181a6d5
children 9e01bc6321ea
line diff
     1.1 --- a/nagios-nrpe/receipt	Sat Nov 30 17:02:58 2013 +0000
     1.2 +++ b/nagios-nrpe/receipt	Wed Jan 21 17:12:27 2015 +0100
     1.3 @@ -46,8 +46,7 @@
     1.4  genpkg_rules()
     1.5  {
     1.6  	mkdir -p $fs/etc/nagios/objects \
     1.7 -		$fs/etc/init.d \
     1.8 -	 	$fs/var/run/nagios
     1.9 +		$fs/etc/init.d
    1.10  	
    1.11  	cp -a $install/usr $fs
    1.12  	install -m 0644 $src/sample-config/nrpe.cfg $fs/etc/nagios
    1.13 @@ -67,7 +66,7 @@
    1.14  	fi
    1.15  	
    1.16  	# Set perms for files and directories
    1.17 -	chroot $1/ chown -R nagios.nagios /usr/lib/nagios/plugins  /var/run/nagios
    1.18 +	chroot $1/ chown -R nagios.nagios /usr/lib/nagios/plugins
    1.19  	chroot $1/ chown  nagios.nagios /etc/nagios/* 
    1.20  	
    1.21  	# Add check_nrpe in nagios config file