CentOS的init.d celery脚本? [英] init.d celery script for CentOS?

查看:196
本文介绍了CentOS的init.d celery脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在写一个使用芹菜的Django应用程序。到目前为止,我一直在Ubuntu上运行,但我试图部署到CentOS。

I'm writing a Django app that uses celery. So far I've been running on Ubuntu, but I'm trying to deploy to CentOS.

Celery有一个很好的init.d脚本,用于基于Debian的发行版,但它不适用于基于RedHat的分发版本,如CentOS,因为它使用启动停止守护进程。任何人都有一个等效的RedHat使用相同的变量约定,所以我可以重用我的/ etc / default / celeryd文件?

Celery comes with a nice init.d script for Debian-based distributions, but it doesn't work on RedHat-based distributions like CentOS because it uses start-stop-daemon. Does anybody have an equivalent one for RedHat that uses the same variable conventions so I can reuse my /etc/default/celeryd file?

推荐答案

最好解决:

Celery CentOS初始化脚本

你应该很好地使用那个

这篇关于CentOS的init.d celery脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆