From e3352258078ba26b3c5275099a8556d6c81dad90 Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Tue, 1 Apr 2025 18:49:27 -0500 Subject: [PATCH] build(update server): added cheaters in to get rid of the other service to readd it --- server/scripts/services.ps1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/server/scripts/services.ps1 b/server/scripts/services.ps1 index 46e7023..35014cb 100644 --- a/server/scripts/services.ps1 +++ b/server/scripts/services.ps1 @@ -9,6 +9,18 @@ param ( # Example string to run with the parameters in it. # .\services.ps1 -serviceName "LSTV2" -option "install" -appPath "E:\LST\lstV2" -description "Logistics Support Tool V2" -command "run start" + +### the fix +# .\services.ps1 -serviceName "LST-App" -option "delete" -appPath "E:\LST\lstV2" -description "Logistics Support Tool V2" -command "run start" +# .\services.ps1 -serviceName "LST-frontend" -option "delete" -appPath "E:\LST\lstV2" -description "Logistics Support Tool V2" -command "run start" +# .\services.ps1 -serviceName "LST-System" -option "delete" -appPath "E:\LST\lstV2" -description "Logistics Support Tool V2" -command "run start" +# .\services.ps1 -serviceName "LST-Gateway" -option "delete" -appPath "E:\LST\lstV2" -description "Logistics Support Tool V2" -command "run start" + +# .\services.ps1 -serviceName "LST-App" -option "install" -appPath "E:\LST\lst_backend" -description "Logistics Support Tool V2" -command "run startapp" +# .\services.ps1 -serviceName "LST-frontend" -option "install" -appPath "E:\LST\lst_backend" -description "Logistics Support Tool V2" -command "run startfront" + + + $nssmPath = $AppPath + "\nssm.exe" $npmPath = "C:\Program Files\nodejs\npm.cmd" # Path to npm.cmd