From 79d1d5110b12a8e447046727bc65e081186e1f6b Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@jalin.de>
Date: Wed, 23 Oct 2019 14:14:42 +0200
Subject: [PATCH] donot remove apache vhost

---
 hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java
index e28542b..e0a5e20 100644
--- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java
+++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java
@@ -359,8 +359,6 @@
 			final String username = user.getName();
 			return 
 				new ShellProcessor("rm -f /home/doms/" + domname +
-						" && rm -f /etc/apache2/sites-enabled/" + linkPrefix + "-" + domname +
-						" && rm -f /etc/apache2/sites-available/" + domname +
 						" && rm -f /etc/apache2/pems-enabled/" + domname + ".crt" +
 						" && rm -f /etc/apache2/pems-enabled/" + domname + ".key" +
 						" && rm -f /etc/apache2/pems-enabled/" + domname + ".chain" +

--
Gitblit v1.9.0-SNAPSHOT