Re: [請益] 帳號資料轉移
※ 引述《JFCC.bbs@ptt.cc (用心創造人生)》之銘言:
> 都已經把mail連入需要用到的都打開了
> apache的設定也都完成
妳只作 rc 設定,但 service 的 rc script 有沒有動作,還需要作啟動,才會真正去跑
比方說 /etc/rc.conf 內設了
sshd_enable="YES"
但若本來 sshd 沒在跑,並不會因此就會動了,
除非妳打 /etc/rc.d/sshd start 或者重開機才會啟動。
而 Apache 這些 port 裝的 rc script 通常會放到 /usr/local/etc/rc.d/ 內
同理,在 /etc/rc.conf 內設好 apache_enable="YES" 之後,
要再打 /usr/local/etc/rc.d/apache之類的... start 才會啟動
start 是啟動, stop 是停止,
status 是察看狀態, rcvar 是該在 rc.conf 內設定相關的環境變數為何。
若沒設 rc.conf 內相關環境參數的話,
就用 forcestart 是強制啟動, forcestop 是強制停止,
Reference:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-rcd.html
--
※ Origin: SayYA 資訊站 <bbs.sayya.org>
◆ From: 61-63-0-host123.kbtelecom.net.tw
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章