Project

General

Profile

Bug #2309 ยป fix-rudder-webapp-syslog.patch

Olivier LI KIANG CHEONG, 2012-02-21 14:15

View differences:

SPECS/rudder-webapp.spec 2012-02-03 20:34:00.856675849 +0100
%define apache apache2
%define apache_group www
%define htpasswd_cmd htpasswd2
%define sysloginitscript /etc/init.d/syslog
%endif
%if 0%{?el6}
%define apache httpd
%define apache_group apache
%define htpasswd_cmd htpasswd
%define sysloginitscript /etc/init.d/rsyslog
%endif
#=================================================
......
/sbin/chkconfig --add %{apache}
echo "Reloading syslogd ..."
/etc/init.d/syslog reload
%{sysloginitscript} reload
/etc/init.d/%{apache} stop
# a2dissite default
    (1-1/1)