Commit 4897ba9c authored by Manuela Kuhn's avatar Manuela Kuhn

Fixed searching path for service file in control server

parent 7de8c120
......@@ -532,6 +532,8 @@ def call_hidra_service(cmd, beamline, det_id, log):
if (os.path.exists("/usr/lib/systemd")
and (os.path.exists("/usr/lib/systemd/{0}.service"
or os.path.exists("/usr/lib/systemd/system/{0}.service"
or os.path.exists("/etc/systemd/system/{0}.service"
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