- # FIXME add "restart" call that only calls app_info once
- exports.app_stop token, app_name, (err) ->
- if err?
- return callback "Couldn't stop the app (to restart it). App is probably still running old version (though perhaps accessing new files.). Server responded: #{err}"
- exports.app_start token, app_name, (err) ->
- if err?
- return callback "CRITICAL ERROR: Couldn't start the app back up! Server responded: #{err}"