SOURCES: nginx.logrotate (NEW) - init

sardzent sardzent at pld-linux.org
Thu Sep 6 10:58:49 CEST 2007


Author: sardzent                     Date: Thu Sep  6 08:58:49 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- init

---- Files affected:
SOURCES:
   nginx.logrotate (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/nginx.logrotate
diff -u /dev/null SOURCES/nginx.logrotate:1.1
--- /dev/null	Thu Sep  6 10:58:49 2007
+++ SOURCES/nginx.logrotate	Thu Sep  6 10:58:44 2007
@@ -0,0 +1,8 @@
+/var/log/nginx/*.log {
+	olddir /var/log/archive/nginx
+#	create 644 nginx nginx
+	sharedscripts
+	postrotate
+		/sbin/service nginx graceful > /dev/null
+	endscript
+}
================================================================


More information about the pld-cvs-commit mailing list