diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-16 15:44:30 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-16 15:44:30 +0800 |
commit | ba4fe6b00097fe43af14761adf295cdd327cd6d6 (patch) | |
tree | 7ee6e4e153484c0e29ff597f7fdec9e355cdaace | |
parent | 75911c5c896aaa22af3a1d8d3b4b9af0e4976211 (diff) | |
download | pttbbs-ba4fe6b00097fe43af14761adf295cdd327cd6d6.tar pttbbs-ba4fe6b00097fe43af14761adf295cdd327cd6d6.tar.gz pttbbs-ba4fe6b00097fe43af14761adf295cdd327cd6d6.tar.bz2 pttbbs-ba4fe6b00097fe43af14761adf295cdd327cd6d6.tar.lz pttbbs-ba4fe6b00097fe43af14761adf295cdd327cd6d6.tar.xz pttbbs-ba4fe6b00097fe43af14761adf295cdd327cd6d6.tar.zst pttbbs-ba4fe6b00097fe43af14761adf295cdd327cd6d6.zip |
for OUTTA_TIMER
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@855 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | sample/pttbbs.conf | 3 | ||||
-rw-r--r-- | sample/rc.local | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf index 73a324bd..67e696d9 100644 --- a/sample/pttbbs.conf +++ b/sample/pttbbs.conf @@ -84,7 +84,8 @@ //#define PRE_FORK 10 /* 若定義, 則由 shmctl utmpsortd 將 time(NULL) 寫入 SHM->GV2.e.now, - 則不須每個 mbbsd都自己透過 time(NULL) 取得時間, 導致大量的 system call */ + 則不須每個 mbbsd都自己透過 time(NULL) 取得時間, 導致大量的 system call. + 須要加跑 shmctl timed 來提供時間 */ //#define OUTTA_TIMER /* 前進站畫面 */ diff --git a/sample/rc.local b/sample/rc.local index d31a009a..96d2cb00 100644 --- a/sample/rc.local +++ b/sample/rc.local @@ -15,3 +15,6 @@ /home/bbs/bin/mbbsd 3009 & /home/bbs/bin/mbbsd 3010 & /usr/bin/su -fm bbsadm -c "/home/bbs/bin/shmctl utmpsortd" + +# 若您在 pttbbs.conf 中有開 OUTTA_TIMER 的話, 則須跑下面這行 +# /usr/bin/su -fm bbsadm -c "/home/bbs/bin/shmctl timed" |