Commit 2f3f06f4 authored by Manuela Kuhn's avatar Manuela Kuhn
Browse files

Used systemd template

parent 045bb413
......@@ -213,8 +213,12 @@ class ZmqDT():
#
# execute the start action ...
#
#write configfile
#start service
# write configfile
# /etc/zeromq-data-transfer/P01.conf
# start service
#systemctl start zeromq-data-transfer@P01.service
# python src/sender/DataManager.py --verbose --procname self.procname --detectorDevice self.detectorDevice --filewriterDevice self.filewriterDevice --historySize self.historySize --localTarget self.localTarget --storeData self.storeData --removeData self.removeData --whitelist self.whitelist
......
......@@ -6,7 +6,7 @@ After=network-online.target
[Service]
TimeoutStartSec=0
WorkingDirectory=/space/projects/zeromq-data-transfer
ExecStart=/space/projects/zeromq-data-transfer/src/sender/DataManager.py --verbose
ExecStart=/space/projects/zeromq-data-transfer/src/sender/DataManager.py --verbose --configFile /etc/zeromq-data-transfer/$i.conf
[Install]
WantedBy=multi-user.target
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment