From 49d347fab43620e66f32951799d9fa8f7dac7b33 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Thu, 12 Jan 2017 02:37:41 +0100 Subject: [PATCH] Added frontend service to postinst,prerm --- BuildFiles/Packaging/templates/postinst-frontend.template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BuildFiles/Packaging/templates/postinst-frontend.template b/BuildFiles/Packaging/templates/postinst-frontend.template index bfd7dea6..ed39d4b5 100644 --- a/BuildFiles/Packaging/templates/postinst-frontend.template +++ b/BuildFiles/Packaging/templates/postinst-frontend.template @@ -86,6 +86,9 @@ a2enmod --quiet proxy_wstunnel systemctl restart apache2 +systemctl enable swarmops-frontend +systemctl start swarmops-frontend + # Always end a frontend update with an Apache reload to clear caches # /etc/init.d/apache2 reload