EPICS Home

Experimental Physics and Industrial Control System


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

Subject: Re: Triggered autosave on exit
From: Ralph Lange <[email protected]>
To: EPICS Tech Talk <[email protected]>
Date: Fri, 05 Oct 2012 22:53:35 +0200
On Fri Oct 05 2012 21:09:28 GMT+0200 (CEST), Tim Mooney <[email protected]> wrote:
[...] I cannot get devIocStats SYSRESET to restart a soft ioc by setting it manually either. It just exits. xxxMain.cpp could restart the ioc, if there were some way to get the information back to it that this is wanted. I haven't figured out how to do that.

Don't do it. There's a bunch of issues with that.

Use procServ [1] (or something similar) to run your soft ioc as a child - it has plenty of options to auto-restart a child process that exits.

~Ralph

[1] https://sourceforge.net/projects/procserv/, binary distribution available for Debian, Fedora/RHEL, and Windows.


References:
Re: Triggered autosave on exit Tim Mooney

Navigate by Date:
Prev: First Use Of 3.14.12.2 - target builds try to produce code for host also Duane Voy
Next: Re: First Use Of 3.14.12.2 - target builds try to produce code for host also Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Triggered autosave on exit Hu, Yong
Next: RE: Triggered autosave on exit Di Maio Franck
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024