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 +