diff --git a/scripts/services.ps1 b/scripts/services.ps1 index 8f40f60..58701f3 100644 --- a/scripts/services.ps1 +++ b/scripts/services.ps1 @@ -13,6 +13,10 @@ param ( # Example string to run with the parameters in it. # .\scripts\services.ps1 -serviceName "LSTV3_app" -option "install" -appPath "D:\LST_V3" -description "Logistics Support Tool" -command "run start" +# server migrations get - reminder to add to old version in pkg "start:lst": "cd lstV2 && npm start", +# .\scripts\services.ps1 -serviceName "LST_app" -option "install" -appPath "D:\LST" -description "Logistics Support Tool" -command "run start" +# .\scripts\services.ps1 -serviceName "LST_app" -option "install" -appPath "D:\LST" -description "Logistics Support Tool" -command "run start:lst" + $nssmPath = $AppPath + "\nssm.exe" $npmPath = "C:\Program Files\nodejs\npm.cmd" # Path to npm.cmd