You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Can not use different name than pm2 for service.
Following error appears at the end of installation process
Could not find "pm2.exe" service after 10 attempts.
Description
Can not use different name than pm2 for service.
Following error appears at the end of installation process
Could not find "pm2.exe" service after 10 attempts.
Relevant code references
pm2-installer/src/windows/setup-service.ps1:332
Set-ServiceUser -name "pm2.exe" -username "NT AUTHORITY\LocalService" -pass ""
pm2-installer/src/windows/setup-service.ps1:335
Confirm-Service -name "pm2.exe"
pm2-installer/src/windows/service-management/install.js:29
name = name || process.env.PM2_SERVICE_NAME || 'PM2';
pm2-installer/src/windows/setup-service.ps1:332
Set-ServiceUser -name "pm2.exe" -username "NT AUTHORITY\LocalService" -pass ""
pm2-installer/src/windows/setup-service.ps1:335
Confirm-Service -name "pm2.exe"
NOTE:
installing services with PM2_SERVICE_NAME result in creation of
daemon\PM2_SERVICE_NAME.exe
instead
daemon\pm2.exe
but name "-" is trimmed from name, and maybe some other characters
Steps to Reproduce
Environment
any windows
The text was updated successfully, but these errors were encountered: