How to Run stroscp as listener(Background Service) on Linux

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
mentaanilkumar
Posts: 15
Joined: Thu, 2017-09-07, 09:34

How to Run stroscp as listener(Background Service) on Linux

#1 Post by mentaanilkumar »

I need to run storescp as background service with arguments under Linux.How Can I?

Michael Onken
DCMTK Developer
Posts: 2048
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: How to Run stroscp as listener(Background Service) on L

#2 Post by Michael Onken »

If you want to start it as a service, look into your linux manual.
From the command line, just use "&" after the command line to run it in background, e.g.

storescp 11112 -d&

Best,
Michael

Jan Schlamelcher
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 318
Joined: Mon, 2014-03-03, 09:51
Location: Oldenburg, Germany

Re: How to Run stroscp as listener(Background Service) on L

#3 Post by Jan Schlamelcher »

Or, the more complete answer would probably be to write a systemd unit so that it is e.g. automatically started during boot, restarted in case an error occured etc. See e.g. here: https://wiki.archlinux.org/index.php/sy ... unit_files (from my experience the Arch Linux Wiki is often very good, even if you dont use Arch Linux).

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest