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  <20182019  2020  2021  2022  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: procServ under systemd service
From: Hinko Kocevar <[email protected]>
To: Michael Davidsaver <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Thu, 8 Feb 2018 09:55:37 +0100
On Wed, Feb 7, 2018 at 4:11 PM, Michael Davidsaver
<[email protected]> wrote:
> On 02/07/2018 03:25 AM, [email protected] wrote:
>> From: Hinko Kocevar [mailto:[email protected]]
>>> On Wed, Feb 7, 2018 at 11:44 AM,  <[email protected]> wrote:
>>>> Doesn't the --noautorestart flag do what you need?
>>>
>>> Not really because procServ just hangs after client died.. I would
>>> still need to send the ^Q to exit the procServ process and then
>>> systemd service can take over.
>>
>> Oh.  That's unfriendly.  There probably ought to be an option to fix that!  I'd imagine it's an easy patch to procServ.
>
> Not a bug!

.. maybe just missing feature ..

>
>
> While Hinko hasn't detailed what action he's trying to perform, I did

I have to run ipcrm after ADAndor based IOC segfaults, otherwise the
communication to the camera fails with Andor SDK error.

> something like this one for temp file cleanup by fork()ing a child
> process which then monitored it's parent.  When the parent exits,
> the client does it's thing and exits as well.  This works even
> for abnormal termination of the parent.

Are you doing this with procServ + IOC?

Thanks,
Hinko

Replies:
Re: procServ under systemd service Ralph Lange
References:
procServ under systemd service Hinko Kocevar
RE: procServ under systemd service Mazanec Tomáš
Re: procServ under systemd service Hinko Kocevar
Re: procServ under systemd service Ralph Lange
Re: procServ under systemd service Hinko Kocevar
RE: procServ under systemd service michael.abbott
Re: procServ under systemd service Hinko Kocevar
RE: procServ under systemd service michael.abbott
Re: procServ under systemd service Michael Davidsaver

Navigate by Date:
Prev: Re: Why is post_event deprecated? Dirk Zimoch
Next: Re: procServ under systemd service Ralph Lange
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: procServ under systemd service Michael Davidsaver
Next: Re: procServ under systemd service Ralph Lange
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 08 Feb 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·