EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Instructions on using manage-procs procServ and Conserver
From: "Smith, William via Tech-talk" <tech-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 14 Jun 2021 07:42:34 +0000
Hi Michael,

I will open a ticket on github. In case anybody ever searches for something similar on techtalk I will also post what these two files look like below. Under ~/.config/procServ.d/ two files are created each time. One file called procserv-sampleIOC1.service is created, another called sampleIOC1.conf. The conf file looks correct:

[sampleIOC1]
command = /home/emil/Apps/epics/R7.0.4.1/work/ioc/TEST/sampleIOC/iocBoot/iocsampleIOC/st.cmd -c
chdir = /home/emil/Apps/epics/R7.0.4.1/work/ioc/TEST/sampleIOC/iocBoot/iocsampleIOC
port = 7010

However, the service file looks incorrect:

[Unit]
Description=procServ for sampleIOC1
After=network.target remote-fs.target
ConditionPathIsDirectory=/home/emil/Apps/epics/R7.0.4.1/work/ioc/TEST/sampleIOC/iocBoot/iocsampleIOC

[Service]
Type=simple
ExecStart=None --user sampleIOC1
RuntimeDirectory=procserv-sampleIOC1
StandardOutput=syslog
StandardError=inherit
SyslogIdentifier=procserv-sampleIOC1

[Install]
WantedBy=multi-user.target

Thanks,

Will

-----Original Message-----
From: Michael Davidsaver <mdavidsaver at gmail.com>
Sent: Friday, June 11, 2021 8:26 PM
To: Smith, William <william.smith at helmholtz-berlin.de>
Cc: tech-talk at aps.anl.gov
Subject: Re: Instructions on using manage-procs procServ and Conserver

On 6/11/21 10:38 AM, Smith, William via Tech-talk wrote:
> cat /home/emil/.config/procServ.d/procserv-sampleIOC1.service
...
> [Service]
...
> ExecStart=None --user sampleIOC1
...
> Any idea what I am doing wrong?

The 'ExecStart' line is clearly not correct, so it looks like you've found a bug.
Would you like to open a ticket?  https://github.com/ralphlange/procServ

Please check to see if the config file under ~/.config/procServ.d/ has 'None' or 'st.cmd'.

________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Jan Lüning (Sprecher), Prof. Dr. Bernd Rech, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
14109 Berlin
Deutschland

References:
Instructions on using manage-procs procServ and Conserver Smith, William via Tech-talk
Re: Instructions on using manage-procs procServ and Conserver Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: RE: Instructions on using manage-procs procServ and Conserver Smith, William via Tech-talk
Next: Re: Best way to properly "synchronize" records between two IOCs Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Instructions on using manage-procs procServ and Conserver Michael Davidsaver via Tech-talk
Next: Re: Instructions on using manage-procs procServ and Conserver Hu, Yong via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 14 Jun 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·