From 6ff4b0ab1d98c1235a923f7dcde8b872bac57a5e Mon Sep 17 00:00:00 2001 From: Bernardo Carvalho Date: Tue, 8 Apr 2025 09:25:37 +0000 Subject: [PATCH] Added epics Ioc service Signed-off-by: Bernardo Carvalho --- epicsIoc/epics-ioc-marte.service | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 epicsIoc/epics-ioc-marte.service diff --git a/epicsIoc/epics-ioc-marte.service b/epicsIoc/epics-ioc-marte.service new file mode 100644 index 0000000..6fc720b --- /dev/null +++ b/epicsIoc/epics-ioc-marte.service @@ -0,0 +1,22 @@ +[Unit] +Description=EPICS Soft IOC ATCA2_MARTe2 +Requires=network.target +After=network.target + +[Service] +WorkingDirectory=/home/oper/git-repos/MARTe2-isttok/epicsIoc/iocBoot/iocmarte +ExecStart=/usr/bin/procServ --foreground --quiet --port=4051 /home/oper/git-repos/MARTe2-isttok/epicsIoc/iocBoot/iocmarte/st.cmd +Restart=always +User=oper +Group=epics +RuntimeDirectory=epicsMARTe +# +# put this file in /etc/systemd/system/ +# and enable service with: +# sudo systemctl enable epics-ioc-marte +# +# Do "telnet localhost 4051" to go to epics console +# ^] + ^D to exit console + +[Install] +WantedBy=multi-user.target