Bug #2307 ยป fix-rudder-inventory-ldap-syslog.patch
SPECS/rudder-inventory-ldap.spec 2012-02-03 17:46:30.059598391 +0100 | ||
---|---|---|
%define rudderlogdir /var/log/rudder
|
||
%define openldap_release 2.4.23
|
||
%if 0%{?sles_version}
|
||
%define sysloginitscript /etc/init.d/syslog
|
||
%endif
|
||
%if 0%{?el6}
|
||
%define sysloginitscript /etc/init.d/rsyslog
|
||
%endif
|
||
#=================================================
|
||
# Header
|
||
#=================================================
|
||
... | ... | |
/sbin/chkconfig --add slapd
|
||
echo "Reloading syslogd ..."
|
||
/etc/init.d/syslog restart
|
||
%{sysloginitscript} restart
|
||
echo "All done. Starting slapd..."
|
||
/etc/init.d/slapd start
|