Question

I have an asp.net MVC web app running on mod-mono under Apache2 on Ubuntu 10.04 LTS. I want to drop a new assembly into my app, without having to restart Apache as a whole.

I see from here that you can install the mono control panel and restart applications there. That's fine, but I don't really want that enabled on a production system.

Is there a way to do it from the command line?

Was it helpful?

Solution

Unless you disabled file change notifications a simple "touch web.config" (make sure to use the actual casing of your file) should do it.

Otherwise a more hardcore approach would be to kill the mod-mono processes (they'll be restarted automatically).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top