[-]
[+]
|
Changed |
tengine.spec
|
|
[-]
[+]
|
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
|