Hi,
Can we run storescp as a windows service ?
Regards.
Regent.
Run storeSCP as a service
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 1511
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
What about SRVANY.EXE?
Re: Run storeSCP as a service
NSSM - the Non-Sucking Service Manager nicely does the trick.
nssm.exe is a tiny executable that installs itself as a Windows service and runs whatever process you want as a child process.
To create a service
I had tried this with srvany before, but stumbled over its shortcomings. nssm is tiny, clean and really gets the job done.
nssm.exe is a tiny executable that installs itself as a Windows service and runs whatever process you want as a child process.
To create a service
DCMDump7777
running storescp listening on port 7777 and dumping everything to a directory, call:
Code: Select all
nssm install DCMDump7777 "C:\Program Files\ToolsDICOM\dcmtk-3.6.7-win64-dynamic\bin\storescp.exe"
nssm set DCMDump7777 AppParameters "7777 -fe .dcm"
nssm set DCMDump7777 AppDirectory "C:\TMP\DCMDUMP"
Who is online
Users browsing this forum: Bing [Bot] and 1 guest