Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
nrpe
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 18
[-]
[+]
Changed
nrpe.spec
@@ -1,7 +1,7 @@ #!BuildIgnore: post-build-checks %define myname nrpe %define version 2.12 -%define release 25 +%define release 26 %define nsusr nagios %define nsgrp nagios %define nsport 5666 @@ -129,6 +129,10 @@ if [ -z "`grep ^nagios /etc/sudoers`" ] ; then echo "nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/" >> /etc/sudoers fi + if [ -z "`grep ^Defaults:nagios`" ] ; then + echo "Defaults:nagios !requiretty" >> /etc/sudoers + echo "Defaults:nagios !env_keep" >> /etc/sudoers + fi fi %build