smart-classic / smart_server

SMArt Bootstrap Server
Apache License 2.0
22 stars 10 forks source link

Have smart_manager check for working triplestore #14

Closed arjunsanyal closed 12 years ago

arjunsanyal commented 12 years ago

I had a hard shutdown and restarted the servers via smart_manager but didn't remember to re-start tomcat for sesame. There should be some check in SM for this

jmandel commented 12 years ago

Right. Might be better for the smart_server to check for this as part of its startup routine (so smart_manager doesn't have to know the details about multiple triplestores.

Could hook in via this approach: http://stackoverflow.com/questions/2781383/where-to-put-django-startup-code