From 75c91cb15349ed0b1379466dbc8715cf05a58cf2 Mon Sep 17 00:00:00 2001 From: Thomas LEBEAU Date: Fri, 13 Jun 2014 11:22:25 +0200 Subject: [PATCH] add remove script --- scripts/remove | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 scripts/remove diff --git a/scripts/remove b/scripts/remove new file mode 100644 index 0000000..131322a --- /dev/null +++ b/scripts/remove @@ -0,0 +1,6 @@ +#!/bin/bash + +domain=$(sudo yunohost app setting yourls domain) + +sudo rm -rf /var/www/yourls +sudo rm -f /etc/nginx/conf.d/$domain.d/yourls.conf \ No newline at end of file