Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
munin
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 7
[-]
[+]
Changed
munin.spec
@@ -153,8 +153,8 @@ ## Node %pre node -getent group munin >/dev/null || groupadd -r munin -getent passwd munin > /dev/null || useradd -r -d %{dbdir} -g munin munin +getent group munin >/dev/null || /usr/sbin/groupadd -r munin > /dev/null 2>&1 +getent passwd munin > /dev/null || /usr/sbin/useradd -r -d %{dbdir} -g munin munin > /dev/null 2>&1 %post node if [ $1 = 1 ] @@ -165,9 +165,9 @@ %{fillup_and_insserv -n -s -y munin munin-node START_MUNIN_NODE} mkdir -p %{logdir} mkdir -p %{dbdir}/plugin-state -chown -R munin:munin %{logdir} -chown -R munin:munin %{dbdir} -chmod g+w %{dbdir}/plugin-state +chown -R munin:munin %{logdir} || : +chown -R munin:munin %{dbdir} || : +chmod g+w %{dbdir}/plugin-state || : /etc/init.d/munin-node status >/dev/null 2>&1 || /etc/init.d/munin-node start %preun node