.
This commit is contained in:
1 parent
221a4f2097
commit
b152a5b0fa
5 files changed
+91
-6
No files matched your search
+6
-1
@@ -56,8 +56,13 @@ if (-not $env:INFISICAL_CLIENT_SECRET) {
|
||||
exit 1
|
||||
}
|
||||
|
||||
if (-not $env:INFISICAL_PROJECT_ID) {
|
||||
Write-Error "INFISICAL_PROJECT_ID is not set."
|
||||
exit 1
|
||||
}
|
||||
|
||||
if ($UsePm2) {
|
||||
pm2 start $MainScript --name $Pm2Name --update-env
|
||||
} else {
|
||||
node $MainScript
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user