Update file sock for multiserver

Added the ZM_SERVER_ID in the creation the sock for not to give conflict in mode multi server.
This commit is contained in:
peruchi 2016-08-02 15:36:40 -03:00 committed by GitHub
parent 4606d2fbca
commit 0238656542
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ use IO::Handle;
use autouse 'Pod::Usage'=>qw(pod2usage);
#use Data::Dumper;
use constant SOCK_FILE => $Config{ZM_PATH_SOCKS}.'/zmdc.sock';
use constant SOCK_FILE => $Config{ZM_PATH_SOCKS}.'/zmdc'.$Config{ZM_SERVER_ID}.'.sock';
$| = 1;