Remove mobile onion site separately

This commit is contained in:
Bob Mottram 2017-06-11 15:17:18 +01:00
parent d9a5c3abde
commit 2830c5fc16
1 changed files with 2 additions and 1 deletions

View File

@ -259,7 +259,8 @@ function remove_rss {
nginx_dissite $RSS_READER_DOMAIN_NAME nginx_dissite $RSS_READER_DOMAIN_NAME
function_check remove_onion_service function_check remove_onion_service
remove_onion_service rss ${RSS_READER_ONION_PORT} ${RSS_MOBILE_READER_ONION_PORT} remove_onion_service rss_mobile ${RSS_MOBILE_READER_ONION_PORT}
remove_onion_service rss ${RSS_READER_ONION_PORT}
if [ -f /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME ]; then if [ -f /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME ]; then
rm /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME rm /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME
fi fi