Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个在 apache/mod_wsgi 中运行的 django 站点。每次更新代码后,我都需要手动重新启动 apache。
mod_wsgi 提供了一种方法来做到这一点:http ://code.google.com/p/modwsgi/wiki/ReloadingSourceCode 我认为有点,不太体面。
所以我的问题是:有没有更简单、更体面的方法呢?例如监控文件状态或其他东西的apache mod。如果没有,是否可以编写一个 apache mod 来做到这一点?