tjcsl / director4

Director 4: Website Hosting for the Masses
https://director.tjhsst.edu
MIT License
9 stars 12 forks source link

fix(manager): remove Docker service on disabled site #19

Closed etnguyen03 closed 4 years ago

etnguyen03 commented 4 years ago

Properly removes the Docker service on a disabled site.

Also, I'm not quite sure if we want to do this, but currently, if one were to restart the process on a disabled site, the task would error out. It may be helpful to keep the error so that users are not confused, but at the same time, they could no longer make edits to their image and they would have to ask for help.