采用crontab自动启动服务

采用crontab自动启动服务
代替操作系统init脚本, we can use @reboot entries in the crontab of the user owning the Zope process. The following buildout recipe would install such a crontab:

[supervisor-crontab] recipe = z3c.recipe.usercrontab times = @ reboot command = ${buildout:bin-directory}/supervisordRun man crontab in a terminal for more information about crontab. See http://pypi.python.org/pypi/z3c.recipe.usercrontab for details about the z3c.recipe.usercrontab recipe.


设置