Created
July 7, 2017 17:41
-
-
Save shudarshon/9ada8a8c482e682a3b33502e1472991b to your computer and use it in GitHub Desktop.
This is a supervisor script for running DCMTK listener application in background .
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[program:dcmtk_listener] | |
command=storescp 5555 -aet app -xcs '. /home/ubuntu/virtual-env/app/bin/activate; cd /home/ubuntu/app/; python manage.py add_dicom #p' --log-config /home/ubuntu/app/dcmtk_log_config.txt -od /home/ubuntu/app/dicoms/ -su ah -tos 30 --accept-all -fe '.dcm' | |
environment=C_FORCE_ROOT=true | |
user=ubuntu | |
numprocs=1 | |
stdout_logfile=/var/log/dcmtk_listener/access.log | |
stderr_logfile=/var/log/dcmtk_listener/error.log | |
autostart=true | |
autorestart=true | |
startsecs=10 | |
stopwaitsecs=300 | |
killasgroup=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment