- 主题:如果要让系统自动运行服务的话
可以。
最好,
重启机器,看正常启动没有。确认一下更好。
【 在 AM@TaoLiBBS.3322.ORG (冰蚀) 的大作中提到: 】
: 能不能这样写?在rc.local里面添加如下
: /home/bbs/bin/bbsd 23
: /usr/local/apache/bin/apachectl start
: su bbs -c /home/bbs/innd/innbbsd
--
FROM 202.205.82.218
【 在 cheyo.bbs@bbs.jmu.edu.cn (车油GG@JMU) 的大作中提到: 】
: 标 题: Re: 如果要让系统自动运行服务的话
: 发信站: 集美学村 (Mon Apr 5 19:02:49 2004)
: 转信站: WuSeTu!news.happynet.org!netnews.sdu.edu.cn!JMU
:
: 应该没有问题
:
: 偶的:
:
: [root@SAMSUNG root]# more /etc/rc.d/rc.local
: #!/bin/sh
: #
: # This script will be executed *after* all the other init scripts.
: # You can put your own initialization stuff in here if you don't
: # want to do the full Sys V style init stuff.
:
: touch /var/lock/subsys/local
: mount tmpfs /home/bbstmpfs -t tmpfs -o size=128M
: for i in brc tmp dynamic userattach; do mkdir /home/bbstmpfs/$i; done
: chown bbs:bbs /home/bbstmpfs -R
: cd /home/bbs
: ln /home/bbstmpfs/tmp tmpfast -s
: ln /home/bbstmpfs/dynamic dynamic -s
: /home/bbs/bin/bbsd 23
: /home/bbs/bin/bbspop3d
: su bbs -c "/home/bbs/bin/bbslogd"
: su bbs -c "/home/bbs/bin/bbsevad"
: su bbs -c "/home/bbs/bin/atthttpd"
: su bbs -c "/home/bbs/innd/innbbsd"
: httpsd
这么写都可以?
:
:
: --
: ╮╰─╯
: 偶是………… ☉☉☉ ┌┐ @ ︵
: ﹂ ∧ ╮ ─┐ └┘ @@ ┌┐╰┐ ┐
: │ ┌╯ ∣├ ─┼┐ ├┤⊕│ ∧
: └╯ ┼─ ─ ∕┘﹨ └┘ ┘
: ┘
:
: ※ 来源:.集美学村 BBS bbs.jmu.edu.cn.[FROM: 210.34.155.70]
--
FROM 202.205.82.218
没有用过httpsd,所以不知道。见笑了。
【 在 cheyo.bbs@bbs.jmu.edu.cn (车油GG@JMU) 的大作中提到: 】
: httpsd 偶这样写可以,呵呵
: 【 在 sofire.bbs@wusetu.cn (我爱二班(classtwo)) 的大作中提到: 】
: : ...................
--
FROM 202.205.82.218