Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
playground
:
monitoring
>
nrpe3
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 20
[-]
[+]
Changed
nrpe.spec
@@ -177,7 +177,11 @@ getent group %{nsgrp} >/dev/null || groupadd -r %{nsgrp} getent passwd %{nsusr} >/dev/null || \ %{_sbindir}/useradd -c "NRPE user for the NRPE service" -d %{_localstatedir}/run/%{myname} -r -g %{nsgrp} -s /sbin/nologin %{nsusr} 2> /dev/null || : +%if 0%{?suse_version} +getent group %{nsgrp} >/dev/null && %{_sbindir}/usermod -A %{nsgrp} %{nsusr} || : +%else getent group %{nsgrp} >/dev/null && %{_sbindir}/usermod -a -G %{nsgrp} %{nsusr} || : +%endif %preun %if 0%{?el6}