Appearance
Starting and Stopping the Service
Windows
Use the Services console or the sc command:
cmd
sc start "DICOMCapacitorService"
sc stop "DICOMCapacitorService"
sc query "DICOMCapacitorService"Or use the Services MMC (services.msc) to start, stop, and configure the startup type.
macOS
DICOM Capacitor runs as a LaunchDaemon with the label co.fluxinc.dicom-capacitor.
Start:
bash
sudo launchctl bootstrap system /Library/LaunchDaemons/co.fluxinc.dicom-capacitor.plist
sudo launchctl kickstart -k system/co.fluxinc.dicom-capacitorStop:
bash
sudo launchctl bootout system/co.fluxinc.dicom-capacitorRestart:
bash
sudo launchctl bootout system/co.fluxinc.dicom-capacitor || true
sleep 2
sudo launchctl bootstrap system /Library/LaunchDaemons/co.fluxinc.dicom-capacitor.plist
sudo launchctl kickstart -k system/co.fluxinc.dicom-capacitorCheck status:
bash
sudo launchctl print system/co.fluxinc.dicom-capacitorEnable/disable auto-start:
bash
sudo launchctl enable system/co.fluxinc.dicom-capacitor
sudo launchctl disable system/co.fluxinc.dicom-capacitorThe service is configured with KeepAlive set to restart on failure. If the process exits with a non-zero status, launchd will restart it after 10 seconds.
Linux
DICOM Capacitor runs as a systemd service named dicom-capacitor.
Start:
bash
sudo systemctl start dicom-capacitorStop:
bash
sudo systemctl stop dicom-capacitorRestart:
bash
sudo systemctl restart dicom-capacitorCheck status:
bash
sudo systemctl status dicom-capacitorEnable/disable auto-start:
bash
sudo systemctl enable dicom-capacitor
sudo systemctl disable dicom-capacitorThe service is configured with Restart=on-failure and a 10-second restart delay.
Docker
bash
docker compose up -d # Start
docker compose stop # Stop
docker compose restart # Restart
docker compose logs -f # Follow logsSee the Docker Operations page for more details.
Automatic Listener Recovery
Unreleased; not included in DICOM Capacitor 4.9.0.
After service initialization, enabled DICOM listeners that fail to start or stop listening are retried every five seconds. A listener configured with port 0 remains disabled.
If host socket buffers are exhausted during web/API application initialization, startup retries with growing delays from five seconds up to one minute. This does not automatically correct every startup error; check the service log for the reported cause.
A running service process alone does not mean startup has completed. Verify that each required listener is accepting connections before sending work to it.
Health Check
You can verify the service is accepting DICOM connections using echoscu (from dcmtk):
bash
echoscu -aec FLUX_CAPACITOR localhost 1040Replace FLUX_CAPACITOR with your configured myAeTitle and 1040 with your configured scpPort.
Viewing Logs
| Platform | Command |
|---|---|
| Windows | Open %ProgramData%\Flux Inc\DICOM Capacitor\log\capacitor_service.log |
| macOS | tail -f /var/lib/dicom-capacitor/data/log/capacitor_service.log |
| macOS (launchd errors) | tail -f /var/lib/dicom-capacitor/data/log/launchctl-error.log |
| Linux | journalctl -u dicom-capacitor -f |
| Linux (file) | tail -f /var/lib/dicom-capacitor/data/log/capacitor_service.log |
| Docker | docker compose logs -f |
See Interrogating the Logs for more details on log files and rotation.