Fix not recreating web sockets
This commit is contained in:
parent
45b5ad4ccb
commit
76166500d2
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ haraka_sub_web=$sockdir/haraka/web-11381.sock
|
|||
- sub 'const hp = .*' \
|
||||
'const hp = [null, null, host_port];'
|
||||
- sub 'Server.http.server.listen.*$' \
|
||||
'!fs.existsSync(host_port)||fs.removeSync(host_port); Server.http.server.listen(host_port, function(){fs.chmodSync(host_port, 0o777);});'
|
||||
'!fs.existsSync(host_port)||fs.unlinkSync(host_port); Server.http.server.listen(host_port, function(){fs.chmodSync(host_port, 0o777);});'
|
||||
}}
|
||||
}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue