|
@@ -408,10 +408,14 @@ function remove_postactiv {
|
408
|
408
|
echo "Removing $POSTACTIV_DOMAIN_NAME"
|
409
|
409
|
nginx_dissite $POSTACTIV_DOMAIN_NAME
|
410
|
410
|
remove_certs $POSTACTIV_DOMAIN_NAME
|
|
411
|
+ if [ -f /etc/cron.hourly/postactiv-daemons ]; then
|
|
412
|
+ rm /etc/cron.hourly/postactiv-daemons
|
|
413
|
+ fi
|
411
|
414
|
if [ -f /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/scripts/stopdaemons.sh ]; then
|
412
|
415
|
cd /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/scripts
|
413
|
416
|
./scripts/stopdaemons.sh
|
414
|
417
|
fi
|
|
418
|
+
|
415
|
419
|
if [ -d /var/www/$POSTACTIV_DOMAIN_NAME ]; then
|
416
|
420
|
rm -rf /var/www/$POSTACTIV_DOMAIN_NAME
|
417
|
421
|
fi
|
|
@@ -428,9 +432,6 @@ function remove_postactiv {
|
428
|
432
|
remove_app postactiv
|
429
|
433
|
remove_completion_param install_postactiv
|
430
|
434
|
sed -i '/postactiv/d' $COMPLETION_FILE
|
431
|
|
- if [ -f /etc/cron.hourly/postactiv-daemons ]; then
|
432
|
|
- rm /etc/cron.hourly/postactiv-daemons
|
433
|
|
- fi
|
434
|
435
|
remove_backup_database_local postactiv
|
435
|
436
|
|
436
|
437
|
function_check remove_ddns_domain
|