From 1545e11e4dbfeb24475a03080100665592e05aea Mon Sep 17 00:00:00 2001
From: Dinyar Rabady <dinyar.rabady@cern.ch>
Date: Sat, 24 Sep 2022 18:40:29 +0200
Subject: [PATCH] Fix PIDFile in systemd service

Belongs to #20.
---
 init.d/runSCdaq.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init.d/runSCdaq.service b/init.d/runSCdaq.service
index 5ac3adc9..a05d2a2e 100644
--- a/init.d/runSCdaq.service
+++ b/init.d/runSCdaq.service
@@ -3,7 +3,7 @@ Description=Wrapper script to run scdaq
 
 [Service]
 Type=simple
-PIDFile=/var/log/scdaq/pid
+PIDFile=/run/scdaq.pid
 ExecStart=/opt/scdaq/scripts/run.sh
 User=scouter
 Group=scouter
-- 
GitLab