centos - CentOS 的 init.d celery 脚本?

标签 centos celery

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

Celery 为基于 Debian 的发行版提供了一个不错的 init.d 脚本,但它不适用于基于 RedHat 的发行版(如 CentOS),因为它使用启动-停止-守护进程。有没有人有一个使用相同变量约定的 RedHat 等效文件,这样我就可以重用我的/etc/default/celeryd 文件?

最佳答案

这里比较好解决:

Celery CentOS init script

你应该很好用那个

关于centos - CentOS 的 init.d celery 脚本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3989656/

相关文章:

php - Centos 6.4安装php54-xml时出错

php - 无法将文件从 PHP 上传到 Centos 服务器?

python - celery 任务在 redis 后端连接套接字超时时引发错误

python - 通过 id 获取结果失败

python - 运行 celeryd 时出错

centos - oVirt Cockpit 安装 Enforce firewalld status ERROR

elasticsearch - 如何过滤掉来自 Packetbeat 和 Logstash 的 127.0.0.1 流量?

python - Celery Worker 的预定 (eta) 任务关闭时会发生什么情况?

centos - 在 CentOS 6 上安装 OpenVZ

python - 说明 Hadoop 与 RabbitMQ+Celery 的用例