save somewhere, probably on the server, the current running version of the app, and the previous, when the use decide to rollback, find the corresponding distfile on the remote host (if not present stop here) and then run the install project using that version and restart the services.
or maybe simpler, list all availabe file on the host and let the user choose the one to rollback to (yes this)
save somewhere, probably on the server, the current running version of the app, and the previous, when the use decide to rollback, find the corresponding distfile on the remote host (if not present stop here) and then run the install project using that version and restart the services. or maybe simpler, list all availabe file on the host and let the user choose the one to rollback to (yes this)