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 2021 2022 2023 2024 2025 | 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 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: procServ under systemd service |
From: | Ralph Lange <[email protected]> |
To: | EPICS Tech Talk <[email protected]> |
Date: | Thu, 8 Feb 2018 11:19:13 +0100 |
That's what I had in mind; have a shell script that systemd picks up
inside the service.
Script first calls ipcrm, then exec()'s the procServ with client IOC.
The problem I'm having is that procServ does not exit after child
exits (child is restarted) hence there are not calls to the ipcrm..
Maybe I should feed the shell script to the procServ altogether
instead of trying to do some things in systemd service and only
respawn IOC inside the procServ.