From c32d3b49e24f102266516ee8b981f3d91209436d Mon Sep 17 00:00:00 2001 From: "Eugene E. Kashpureff Jr" Date: Sat, 11 Jun 2016 13:53:16 +0000 Subject: [PATCH] Add deploy helper script --- contrib/deploy.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 contrib/deploy.sh diff --git a/contrib/deploy.sh b/contrib/deploy.sh new file mode 100755 index 00000000..84eeda63 --- /dev/null +++ b/contrib/deploy.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# contrib/deploy.sh +# Libresonic/libresonic +# +# Helper script to shorten dev/build/deployment +# + +sudo systemctl stop tomcat +sudo rm /var/lib/tomcat/webapps/libresonic* -rf +sudo cp libresonic-main/target/libresonic.war /var/lib/tomcat/webapps/ +sudo systemctl start tomcat +