Skip to content

Commit 8092139

Browse files
committed
Cleanup domain ports on delete
1 parent 342baa8 commit 8092139

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

nodeapp.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,7 @@ public function v_delete_web_domain_backend( $args ) {
855855
$domain = $args[1];
856856
$nodeapp_folder = "/home/$user/web/$domain/nodeapp";
857857
$this->shutdown_apps( $nodeapp_folder );
858+
unlink( "/usr/local/hestia/data/hcpp/ports/$user/$domain.ports" );
858859
}
859860

860861
/**

0 commit comments

Comments
 (0)