This commit is contained in:
Owen
2025-08-30 21:35:20 -07:00
parent 58b05bbb17
commit dc3d252660

View File

@@ -120,15 +120,14 @@ olm.exe debug
olm.exe help olm.exe help
``` ```
Note running the service requires credentials in `%PROGRAMDATA%\olm\olm-client\config.json`.
### Service Configuration ### Service Configuration
When running as a service, Olm will read configuration from environment variables or you can modify the service to include command-line arguments: When running as a service, Olm will read configuration from environment variables or you can modify the service to include command-line arguments:
1. Install the service: `olm.exe install` 1. Install the service: `olm.exe install`
2. Configure the service with your credentials using Windows Service Manager or by setting system environment variables: 2. Set the credentials in `%PROGRAMDATA%\olm\olm-client\config.json`. Hint: if you run olm once with --id and --secret this file will be populated!
- `PANGOLIN_ENDPOINT=https://example.com`
- `OLM_ID=your_olm_id`
- `OLM_SECRET=your_secret`
3. Start the service: `olm.exe start` 3. Start the service: `olm.exe start`
### Service Logs ### Service Logs