From: Ole Artz Date: Wed, 9 Aug 2017 13:41:53 +0000 (+0200) Subject: deployment: hameg_ioc.service added X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=7e4313b9e28c31ec8b1b7cceaec26535ba6c5e7c;p=mvd_epics.git deployment: hameg_ioc.service added --- diff --git a/HAMEG_HMP4030/iocBoot/iocHAMEG_HMP4030/st.cmd b/HAMEG_HMP4030/iocBoot/iocHAMEG_HMP4030/st.cmd old mode 100644 new mode 100755 diff --git a/deployment/hameg_ioc.service b/deployment/hameg_ioc.service new file mode 100644 index 0000000..6ccdbd4 --- /dev/null +++ b/deployment/hameg_ioc.service @@ -0,0 +1,16 @@ +[Unit] +Description=EPICS IOC "HAMEG_HMP4030" +After=network.target + +[Service] +Type=simple +User=scs +EnvironmentFile=/home/scs/EPICS/env/epics_env.systemd +Environment="EPICS_CAS_INTF_ADDR_LIST=192.168.10.106" +WorkingDirectory=/home/scs/EPICS/IOCs/HAMEG_HMP4030/iocBoot/iocHAMEG_HMP4030 +ExecStart=/usr/bin/procServ -n hameg_ioc -f 20106 /home/scs/EPICS/IOCs/HAMEG_HMP4030/iocBoot/iocHAMEG_HMP4030/st.cmd +Restart=on-abort + +[Install] +WantedBy=multi-user.target +