Changes of Revision 22
[-] | Changed | tengine.spec |
x 1
2 Source4: ssl.conf 3 Source7: %{name}.sysconfig 4 5 -# removes -Werror in upstream build scripts. -Werror conflicts with 6 -# -D_FORTIFY_SOURCE=2 causing warnings to turn into errors. 7 Patch0: nginx-auto-cc-gcc.patch 8 - 9 -# configuration patch to match all the Fedora paths for logs, pid files 10 -# etc. 11 Patch1: nginx-conf-0.7.x.patch 12 13 -# syslog patch, use syslog instead of nginx logfiles 14 -#Patch2: nginx-syslog.patch 15 -#Patch3: nginx-unix-sockets.diff 16 -#Patch4: nginx-versiontilt.patch 17 - 18 %description 19 Tengine is a web server originated by Taobao, the largest e-commerce website in Asia. 20 It is based on Nginx HTTP server and has many advanced features. Tengine has been proven 21 |
||
[+] | Deleted | nginx.logrotate ^ |
@@ -1,12 +0,0 @@ -/var/log/nginx/*log { - daily - rotate 10 - missingok - notifempty - compress - sharedscripts - postrotate - [ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid` - endscript -} - | ||
[+] | Deleted | nginx.sysconfig ^ |
@@ -1,5 +0,0 @@ -# Configuration file for the nginx service - -# set this to the location of the nginx configuration file -NGINX_CONF_FILE=/etc/nginx/nginx.conf -ulimit -n 512000 \ No newline at end of file | ||
[+] | Changed | tengine.init ^ |
@@ -7,8 +7,8 @@ # proxy and IMAP/POP3 proxy server # processname: nginx # config: /etc/nginx/nginx.conf -# config: /etc/sysconfig/nginx -# pidfile: /var/run/nginx.pid +# config: /etc/sysconfig/tengine +# pidfile: /var/run/tengine.pid # Source function library. . /etc/rc.d/init.d/functions @@ -19,14 +19,14 @@ # Check that networking is up. [ "$NETWORKING" = "no" ] && exit 0 -nginx="/usr/sbin/nginx" +nginx="/usr/sbin/tengine" prog=$(basename $nginx) -NGINX_CONF_FILE="/etc/nginx/nginx.conf" +NGINX_CONF_FILE="/etc/nginx/tengine.conf" -[ -f /etc/sysconfig/nginx ] && . /etc/sysconfig/nginx +[ -f /etc/sysconfig/tengine ] && . /etc/sysconfig/tengine -lockfile=/var/lock/subsys/nginx +lockfile=/var/lock/subsys/tengine start() { [ -x $nginx ] || exit 5 | ||
[+] | Changed | tengine.logrotate ^ |
@@ -1,4 +1,4 @@ -/var/log/tengine/*log { +/var/log/nginx/*log { daily rotate 10 missingok | ||
[+] | Changed | tengine.sysconfig ^ |
@@ -1,5 +1,5 @@ # Configuration file for the nginx service # set this to the location of the nginx configuration file -NGINX_CONF_FILE=/etc/nginx/nginx.conf +NGINX_CONF_FILE=/etc/nginx/tengine.conf ulimit -n 512000 \ No newline at end of file |