If you change the configuration, resources or anything else about a standalone microservice, you need to restart the microservice to apply the changes you made. This topic explains how to restart your microservice.
Procedure
- If your microservice runs as a Windows service (true if you used installService.ps1 to install it on a Windows machine), in your Start menu, enter the command
services.msc.
The Services window opens.
- In the list of services, find the microservice you want to restart, one of the following:
- SDL Web Transport Service
- SDL Web Monitoring Service
- SDL Web Cache Service
- SDL Web UGC Community Service
- SDL Web UGC Moderation Service
- SDL Web Content Service
- SDL Web Deployer Service
- SDL Web Deployer Worker Service
- SDL Web Session Preview Service
- SDL Web Session Content Service
- SDL Web Context Service
- SDL Web Contextual Image Delivery Service
- Right-click the item and from the context menu that opens, select Restart.
- Alternatively, if your microservice runs as a Java process (true if you used start.ps1 to install it on a Windows machine or start.sh to install it on a non-Windows machine), do one of the following:
- If you are running this Java process in the background, check your Task Manager or process manager for a Java process and kill it.
- If you are running this Java process in a window or console, close the window or console.
- Run start.ps1 or start.sh again, with the same parameters as you originally used.