Ubuntu环境tinyerp启动脚本
-
说明:
1,本脚本为ubuntu里tinyerp软件包里脚本修改得来
2,实现的功能为自启动、启动、停止、重启
3,适用范围:ubuntu 8.04 源码安装tinyerp(使用setup.py build和setup.py install),理论上支持ubuntu和debian全系列
4,未来会加入安装功能安装方法
1,下载,解压
2,修改文件,一般是以下几个变量,根据自己的情况修改
INTERFACE="localhost"
USER="postgres"
DATABASE_NAME="terp"
DATABASE_USER="postgres"
3,复制到/etc/init.d/,权限为755
4,把/etc/init.d/tinyerp-server软链接到/etc/rc2.d/S83tinyerp-server[[i] 本帖最后由 yuzifu 于 2008-3-20 17:14 编辑 [/i]]
-
动作很快呀,非常感谢。马上去试试。
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login