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  <20162017  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  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: IOCs under procServ as system services under systemd?
From: "Konrad, Martin" <[email protected]>
To: Andrew Johnson <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 28 Jun 2016 19:00:31 +0000
Hi Andrew,
> Thanks. Doesn't the "user=carepeater" parameter mean that there must
> be a username called carepeater that is used just to run the
> repeater? I would probably default to something like daemon instead.
I usually create a separate user for each daemon. But using "daemon"
sounds more reasonable for a file that ships with EPICS Base.

>> Are you suggesting to replace the caRepeater autostart
>> functionality by systemd's socket activation in the long run?
> Not replacing it (we will always need it to autostart for when an IOC
> is running on an embedded system say), but adding the ability to use
> socket activation when desired would make sense.
I see. Unfortunately I don't have time to add that feature right now but
it shouldn't be too hard to do. See [1] for a nice description of
systemd's socket activation including some example code.

Cheers,

Martin

[1] http://0pointer.de/blog/projects/socket-activation.html

-- 
Martin Konrad
Control System Engineer
Facility for Rare Isotope Beams
Michigan State University
640 South Shaw Lane
East Lansing, MI 48824-1321, USA
Tel. 517-908-7253
Email: [email protected]


Replies:
Re: IOCs under procServ as system services under systemd? Jack
References:
IOCs under procServ as system services under systemd? Ralph Lange
Re: IOCs under procServ as system services under systemd? Niklas Claesson
Re: IOCs under procServ as system services under systemd? Konrad, Martin
Re: IOCs under procServ as system services under systemd? Konrad, Martin

Navigate by Date:
Prev: Re: Including libraries in subroutines Stephen Molloy
Next: EPICS Website downloads Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: IOCs under procServ as system services under systemd? Andrew Johnson
Next: Re: IOCs under procServ as system services under systemd? Jack
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·