gpt4 book ai didi

linux - Ubuntu Upstart 无法停止/重启 Graphite 碳缓存

转载 作者:IT王子 更新时间:2023-10-29 01:15:24 26 4
gpt4 key购买 nike

我在/etc/init/carbon-cache.conf 创建了 upstart 配置文件来停止/启动/重启 carbon-cache 进程。我可以使用命令启动 carbon-cache 进程:start carbon-cache,但是,我无法使用停止/重新启动 carbon-cache 并且总是给我错误:“停止:未知实例:”。

有人知道问题出在哪里吗?这是我的 Upstart 配置:/etc/init/carbon-cache.conf

description "Daemonized Carbon-Cache"

start on runlevel [2345]
stop on runlevel [016]

setuid www-data
setgid www-data

exec /opt/graphite/bin/carbon-cache.py start

respawn
respawn limit 10 5

最佳答案

我建议使用这个 carbon-cache.conf 文件:https://gist.github.com/dbeckham/8057390

关于linux - Ubuntu Upstart 无法停止/重启 Graphite 碳缓存,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19829120/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com