(self)
| 34 | """ Set up Apache """ |
| 35 | |
| 36 | def remove(self): |
| 37 | file = "/etc/apache2/sites-enabled/vhost-%s.conf" % self.ip |
| 38 | if os.path.isfile(file): |
| 39 | os.remove(file) |
| 40 | CsHelper.service("apache2", "restart") |
| 41 | |
| 42 | def setup(self): |
| 43 | CsHelper.copy_if_needed("/etc/apache2/vhost.template", |
no test coverage detected