Written for jon-hall/pm2-windows-service#3
This is a PoC for running PM2 as a Windows Service under the Local Service account instead of the Local System account.
- Neither
pm2orpm2-windows-serviceinstalled yet. (The Powershell script will runnpm i)- At the very least, you should run
pm2-service-uninstallbefore running this script
- At the very least, you should run
npmandnpm-cacheglobal folders should be somewhere accessible toNT AUTHORITY\LocalService.