From 2b6bc67efe7c70d8cc4fd190e67c0008186b7030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Wed, 4 Sep 2024 18:16:57 -0300 Subject: [PATCH] service: add systemd service for the IOC. --- service/rffe-ioc@.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 service/rffe-ioc@.service diff --git a/service/rffe-ioc@.service b/service/rffe-ioc@.service new file mode 100644 index 0000000..2bb330f --- /dev/null +++ b/service/rffe-ioc@.service @@ -0,0 +1,11 @@ +[Unit] +Description=RFFE EPICS IOC %i + +[Service] +User=iocs + +MemoryAccounting=yes + +Environment="RFFE_BASE_IP_ADDRESS=192.168.2.190" +WorkingDirectory=/opt/rffe-epics-ioc/iocBoot/iocBPMRFFEApp +ExecStart=/opt/rffe-epics-ioc/iocBoot/iocBPMRFFEApp/run.sh %i