You are here

bitnami 开机启动文档

· sudo cp installdir/ctlscript.sh /etc/init.d/bitnami-sv

ctlscript.sh从安装目录拷贝到/etc/init.d/,并重命名为bitnami-sv

 

修改文件bitnami-sv,头部信息:

· #!/bin/sh

·  #

·  # chkconfig: 2345 80 30

·  # description: Bitnami services

 

This will execute the script in runlevels 2, 3, 4 and 5, with priority 80 to start and 30 to stop.

 

执行开机启动命令:

· sudo chkconfig --add bitnami-APPNAME

 

 

使用reboot重启机子, 启动后测试成功。


论坛:

Drupal版本: