Appearance
Command Line Options
Basic Syntax
bash
DICOMCapacitorService.exe [options]Options are processed in the order given. Put --path first when combining it with options that read or write files in the configuration directory, such as --activation-code.
Service Options
--path=DIR,-p DIR: Sets the directory containing the configuration files. The directory must already exist. Without this option:- Windows:
%ProgramData%\Flux Inc\DICOM Capacitor\ - macOS/Linux:
$HOME/.local/Flux Inc/DICOM Capacitor/for the user running the service
The macOS installer and Flux-assisted macOS/Linux deployments pass
--path=/var/lib/dicom-capacitor/dataexplicitly. Linux release packages use a different unit; see Linux release packages.- Windows:
Configuration Options
--activation-code=CODE: Saves the product activation code and exits--activate: Run the interactive activation flow and exit--no-storage-scu,-ns: Disables the Storage SCU--no-worklist-scu,-nw: Disables the Worklist SCU--no-prepare,-np: Disables preparation, which is the process of preparing files for storage--save-config,-s: Saves the current settings to theconfig.ymlfile. Be careful with this option, as it will overwrite the existingconfig.ymlfile.--config.<setting>=VALUE: Overrides aconfig.ymlsetting for this run, e.g.--config.myAeTitle=MY_AE. See Command Line Overrides.
Remote Configuration
These options push the local configuration bundle to Configatorium. See configatorium for the bundle contents and the settings they use.
--configatorium-push: Pushes the configuration bundle and exits. The exit code is0on success and1on failure.--configatorium-url=URL: Configatorium base URL for this push. Takes precedence overconfigatorium.urlinconfig.yml, which takes precedence over the built-in default.--configatorium-identifier=ID: Configuration code for this installation. Takes precedence overconfigatorium.identifierand is saved toconfig.yml. When no identifier is configured, one is generated and saved on the first push.
Output Options
--console,-c: Force log output to the console (useful for debugging)--log=DIR: Set the log output directory (overrides the default log path)--version: Display the current version and exit--status: Display the activation/license status and exit
API Options
The HTTP management API is configured via the api: section in config.yml, not via command-line flags. See Settings → api and the HTTP API reference.
Development Options
--mutate SRC_AE DST_AE IN_DCM_FILE OUT_DCM_FILE,-m ...: Applies the mutations defined inmutations.ymlto a single DICOM file and writes the result. Intended for testing.--quit,-q: Exit after running commands
Examples
Set Activation
bash
DICOMCapacitorService.exe --activation-code=XXXX-XXXX-XXXXOn macOS or Linux, point at the service's data directory:
bash
DICOMCapacitorService --path=/var/lib/dicom-capacitor/data --activation-code=XXXX-XXXX-XXXXPush Configuration
bash
DICOMCapacitorService --path=/var/lib/dicom-capacitor/data --configatorium-pushDevelopment Usage
bash
# Process single file
DICOMCapacitorService.exe --mutate SRC_AE DST_AE input.dcm output.dcm