diff --git a/os-league-tools.service b/os-league-tools.service index 9db6e43f..eb0f77de 100644 --- a/os-league-tools.service +++ b/os-league-tools.service @@ -16,7 +16,7 @@ Environment="PORT=3000" # Environment="REACT_APP_RELDO_URL=http://localhost:8080" # Start the application (serves the pre-built static files) -ExecStart=/usr/bin/npm start +ExecStart=/usr/bin/serve -s build -l 3000 # Restart policy Restart=on-failure