use supervisor instead of pm2 for stability
This commit is contained in:
parent
5ab77c560f
commit
2f94e07788
10 changed files with 46 additions and 35 deletions
|
|
@ -59,6 +59,11 @@ function locateVolume () {
|
|||
}
|
||||
|
||||
function prepareVolume () {
|
||||
if (isMounted()) {
|
||||
logger.info('Volume is already mounted.')
|
||||
return true
|
||||
}
|
||||
|
||||
const volumePath = locateVolume()
|
||||
if (!volumePath) return false
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue