summaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-03-28 09:39:38 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-03-28 09:39:38 +0800
commitf9d8df377c9725ba53e805379738aaf8dff1b25d (patch)
treea02899de10f507e75db9f98ded1ed1d655b9e541 /sample
parentfc5a307fe3e037fc6b33475e1ab744054b030493 (diff)
downloadpttbbs-f9d8df377c9725ba53e805379738aaf8dff1b25d.tar
pttbbs-f9d8df377c9725ba53e805379738aaf8dff1b25d.tar.gz
pttbbs-f9d8df377c9725ba53e805379738aaf8dff1b25d.tar.bz2
pttbbs-f9d8df377c9725ba53e805379738aaf8dff1b25d.tar.lz
pttbbs-f9d8df377c9725ba53e805379738aaf8dff1b25d.tar.xz
pttbbs-f9d8df377c9725ba53e805379738aaf8dff1b25d.tar.zst
pttbbs-f9d8df377c9725ba53e805379738aaf8dff1b25d.zip
add LOGPOST
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3497 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'sample')
-rw-r--r--sample/crontab3
-rw-r--r--sample/pttbbs.conf3
2 files changed, 6 insertions, 0 deletions
diff --git a/sample/crontab b/sample/crontab
index 3734c470..a732f926 100644
--- a/sample/crontab
+++ b/sample/crontab
@@ -115,3 +115,6 @@
20 21 * * * bin/shmctl utmpfix -t 3600
30,40,50 21 * * * bin/shmctl utmpfix -t 1800
*/20 22,23,0,1 * * * bin/shmctl utmpfix -t 1200
+
+# 如果開啟 LOGPOST 的話需順便開這個, 每天 rotate log
+#0 6 * * * /bin/mv log/post log/post.old
diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf
index 9263f386..6541dbd1 100644
--- a/sample/pttbbs.conf
+++ b/sample/pttbbs.conf
@@ -227,6 +227,9 @@
/* 若定義, 則不允許註冊 guest */
//#define NO_GUEST_ACCOUNT_REG
+/* 若定義, 則每篇發文會寫到 log/post , 可以給分析或張爸魔一類的程式用 */
+//#define LOGPOST
+
/* 前進站畫面 */
#define INSCREEN \
"前進站畫面 (請至 pttbbs.conf 修改您的前進站畫面)"