Bug #2309 ยป fix-rudder-webapp-syslog.patch
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
|