]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/helpers/utils.js
1f7839673a1795e94fb738193310bbfe4930abf9
3 const logger
= require('./logger')
6 cleanForExit: cleanForExit
9 function cleanForExit (webtorrent_process
) {
10 logger
.info('Gracefully exiting.')
11 process
.kill(-webtorrent_process
.pid
)
14 // ---------------------------------------------------------------------------
16 module
.exports
= utils