2013-08-21 122 views
0

我得到了哨兵(6.0.6)的工作,至少當我做sentry start它的工作原理。但是,我不想要默認配置位置。哨兵忽略--config路徑

理論上足夠簡單。我移動了配置文件並使用

sentry start --config=/new/path/sentry.conf.py 

...如發現here。但是:

ValueError: Configuration file does not exist at '/home/username/.sentry/sentry.conf.py' 

...這是默認位置,而不是我通過的那個。

爲什麼--config被忽略?

回答

3

更換

sentry start --config=/new/path/sentry.conf.py 

sentry --config=/new/path/sentry.conf.py start